SlideShare a Scribd company logo
Haskell’e Pratik bir Giri¸s
Sonat S¨uer
Picus Security
18 Ekim 2017
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 1 / 9
Bu Sunum Kimler ˙I¸cin
Fonksiyonel programalamanın temellerine (origami, “recursion” ¸semaları,
p¨ur/IO ayrımı vs.) a¸sina, Haskell kodu pek yazmamı¸s ama yazmak
isteyenler i¸cin.
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 2 / 9
Bu Sunum Ne Hakkında
Haskell kodu yazarken (ve debugging yaparken) kullanılan y¨ontemler,
ara¸clar, k¨ut¨uphaneler...
¨Ozetle pratik mevzular hakkında.
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 3 / 9
Geli¸stirme Ortamı I
Derlemek ve paketleri/k¨ut¨uphaneleri y¨onetmek i¸cin Stack kullanaca˘gız:
https://docs.haskellstack.org/en/stable/README/
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 4 / 9
Geli¸stirme Ortamı I
Derlemek ve paketleri/k¨ut¨uphaneleri y¨onetmek i¸cin Stack kullanaca˘gız:
https://docs.haskellstack.org/en/stable/README/
Alternatif: Nix.
https://github.com/Gabriel439/haskell-nix
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 4 / 9
Geli¸stirme Ortamı II
Edit¨or¨um¨uz Emacs olacak ve “content assist” i¸cin Intero kullanaca˘gız.
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 5 / 9
Geli¸stirme Ortamı II
Edit¨or¨um¨uz Emacs olacak ve “content assist” i¸cin Intero kullanaca˘gız.
Alternatifler: Emacs + Dante, VSCode + Intero, ...
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 5 / 9
Ne Yazsak?
Haskell ne i¸cin daha uygun?
https://github.com/Gabriel439/post-rfc/blob/master/sotu.md
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 6 / 9
Ne Yazsak?
Haskell ne i¸cin daha uygun?
https://github.com/Gabriel439/post-rfc/blob/master/sotu.md
Parser yazalım!
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 6 / 9
Ekosistem
K¨ut¨uphanelerimiz Stack kullanaca˘gımız i¸cin Stackage’dan gelecek.
https://www.stackage.org/
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 7 / 9
Ekosistem
K¨ut¨uphanelerimiz Stack kullanaca˘gımız i¸cin Stackage’dan gelecek.
https://www.stackage.org/
Ba¸slangı¸c i¸cin Haskell is Easy daha ugun olabilir:
https://haskelliseasy.readthedocs.io/en/latest/
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 7 / 9
¨O˘grenmek ˙I¸cin
Yeni ba¸slayanlara taze tavsiyeler:
http://www.haskellforall.com/2017/10/
advice-for-haskell-beginners.html
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
¨O˘grenmek ˙I¸cin
Yeni ba¸slayanlara taze tavsiyeler:
http://www.haskellforall.com/2017/10/
advice-for-haskell-beginners.html
Yorumlarıyla beraber bir kaynak listesi:
http:
//bitemyapp.com/posts/2014-12-31-functional-education.html
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
¨O˘grenmek ˙I¸cin
Yeni ba¸slayanlara taze tavsiyeler:
http://www.haskellforall.com/2017/10/
advice-for-haskell-beginners.html
Yorumlarıyla beraber bir kaynak listesi:
http:
//bitemyapp.com/posts/2014-12-31-functional-education.html
Biraz daha geli¸smi¸s bir ders: UPenn, Cis552.
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
¨O˘grenmek ˙I¸cin
Yeni ba¸slayanlara taze tavsiyeler:
http://www.haskellforall.com/2017/10/
advice-for-haskell-beginners.html
Yorumlarıyla beraber bir kaynak listesi:
http:
//bitemyapp.com/posts/2014-12-31-functional-education.html
Biraz daha geli¸smi¸s bir ders: UPenn, Cis552.
Beautiful Concurrency (S.P.Jones)
Essence of Functional Programming (P.Wadler)
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
¨O˘grenmek ˙I¸cin
Yeni ba¸slayanlara taze tavsiyeler:
http://www.haskellforall.com/2017/10/
advice-for-haskell-beginners.html
Yorumlarıyla beraber bir kaynak listesi:
http:
//bitemyapp.com/posts/2014-12-31-functional-education.html
Biraz daha geli¸smi¸s bir ders: UPenn, Cis552.
Beautiful Concurrency (S.P.Jones)
Essence of Functional Programming (P.Wadler)
Pratik! (˙I¸se yarar uygulamalar yazarak)
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
¨O˘grenmek ˙I¸cin
Yeni ba¸slayanlara taze tavsiyeler:
http://www.haskellforall.com/2017/10/
advice-for-haskell-beginners.html
Yorumlarıyla beraber bir kaynak listesi:
http:
//bitemyapp.com/posts/2014-12-31-functional-education.html
Biraz daha geli¸smi¸s bir ders: UPenn, Cis552.
Beautiful Concurrency (S.P.Jones)
Essence of Functional Programming (P.Wadler)
Pratik! (˙I¸se yarar uygulamalar yazarak)
Sosyal Ortam! (Burası, ˙Internet, ¨O˘grenme grupları,. . . )
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
Ve Sonunda...
Kod!
Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 9 / 9

More Related Content

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Meetup slides

  • 1. Haskell’e Pratik bir Giri¸s Sonat S¨uer Picus Security 18 Ekim 2017 Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 1 / 9
  • 2. Bu Sunum Kimler ˙I¸cin Fonksiyonel programalamanın temellerine (origami, “recursion” ¸semaları, p¨ur/IO ayrımı vs.) a¸sina, Haskell kodu pek yazmamı¸s ama yazmak isteyenler i¸cin. Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 2 / 9
  • 3. Bu Sunum Ne Hakkında Haskell kodu yazarken (ve debugging yaparken) kullanılan y¨ontemler, ara¸clar, k¨ut¨uphaneler... ¨Ozetle pratik mevzular hakkında. Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 3 / 9
  • 4. Geli¸stirme Ortamı I Derlemek ve paketleri/k¨ut¨uphaneleri y¨onetmek i¸cin Stack kullanaca˘gız: https://docs.haskellstack.org/en/stable/README/ Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 4 / 9
  • 5. Geli¸stirme Ortamı I Derlemek ve paketleri/k¨ut¨uphaneleri y¨onetmek i¸cin Stack kullanaca˘gız: https://docs.haskellstack.org/en/stable/README/ Alternatif: Nix. https://github.com/Gabriel439/haskell-nix Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 4 / 9
  • 6. Geli¸stirme Ortamı II Edit¨or¨um¨uz Emacs olacak ve “content assist” i¸cin Intero kullanaca˘gız. Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 5 / 9
  • 7. Geli¸stirme Ortamı II Edit¨or¨um¨uz Emacs olacak ve “content assist” i¸cin Intero kullanaca˘gız. Alternatifler: Emacs + Dante, VSCode + Intero, ... Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 5 / 9
  • 8. Ne Yazsak? Haskell ne i¸cin daha uygun? https://github.com/Gabriel439/post-rfc/blob/master/sotu.md Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 6 / 9
  • 9. Ne Yazsak? Haskell ne i¸cin daha uygun? https://github.com/Gabriel439/post-rfc/blob/master/sotu.md Parser yazalım! Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 6 / 9
  • 10. Ekosistem K¨ut¨uphanelerimiz Stack kullanaca˘gımız i¸cin Stackage’dan gelecek. https://www.stackage.org/ Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 7 / 9
  • 11. Ekosistem K¨ut¨uphanelerimiz Stack kullanaca˘gımız i¸cin Stackage’dan gelecek. https://www.stackage.org/ Ba¸slangı¸c i¸cin Haskell is Easy daha ugun olabilir: https://haskelliseasy.readthedocs.io/en/latest/ Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 7 / 9
  • 12. ¨O˘grenmek ˙I¸cin Yeni ba¸slayanlara taze tavsiyeler: http://www.haskellforall.com/2017/10/ advice-for-haskell-beginners.html Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
  • 13. ¨O˘grenmek ˙I¸cin Yeni ba¸slayanlara taze tavsiyeler: http://www.haskellforall.com/2017/10/ advice-for-haskell-beginners.html Yorumlarıyla beraber bir kaynak listesi: http: //bitemyapp.com/posts/2014-12-31-functional-education.html Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
  • 14. ¨O˘grenmek ˙I¸cin Yeni ba¸slayanlara taze tavsiyeler: http://www.haskellforall.com/2017/10/ advice-for-haskell-beginners.html Yorumlarıyla beraber bir kaynak listesi: http: //bitemyapp.com/posts/2014-12-31-functional-education.html Biraz daha geli¸smi¸s bir ders: UPenn, Cis552. Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
  • 15. ¨O˘grenmek ˙I¸cin Yeni ba¸slayanlara taze tavsiyeler: http://www.haskellforall.com/2017/10/ advice-for-haskell-beginners.html Yorumlarıyla beraber bir kaynak listesi: http: //bitemyapp.com/posts/2014-12-31-functional-education.html Biraz daha geli¸smi¸s bir ders: UPenn, Cis552. Beautiful Concurrency (S.P.Jones) Essence of Functional Programming (P.Wadler) Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
  • 16. ¨O˘grenmek ˙I¸cin Yeni ba¸slayanlara taze tavsiyeler: http://www.haskellforall.com/2017/10/ advice-for-haskell-beginners.html Yorumlarıyla beraber bir kaynak listesi: http: //bitemyapp.com/posts/2014-12-31-functional-education.html Biraz daha geli¸smi¸s bir ders: UPenn, Cis552. Beautiful Concurrency (S.P.Jones) Essence of Functional Programming (P.Wadler) Pratik! (˙I¸se yarar uygulamalar yazarak) Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
  • 17. ¨O˘grenmek ˙I¸cin Yeni ba¸slayanlara taze tavsiyeler: http://www.haskellforall.com/2017/10/ advice-for-haskell-beginners.html Yorumlarıyla beraber bir kaynak listesi: http: //bitemyapp.com/posts/2014-12-31-functional-education.html Biraz daha geli¸smi¸s bir ders: UPenn, Cis552. Beautiful Concurrency (S.P.Jones) Essence of Functional Programming (P.Wadler) Pratik! (˙I¸se yarar uygulamalar yazarak) Sosyal Ortam! (Burası, ˙Internet, ¨O˘grenme grupları,. . . ) Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 8 / 9
  • 18. Ve Sonunda... Kod! Sonat S¨uer (Picus Security) Haskell’e Pratik bir Giri¸s 18 Ekim 2017 9 / 9