Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sierpinski Triangle - Polyglot FP for Fun and Profit - Haskell and Scala - with minor corrections

Download to see the slides as they were intended to be seen.

This slide deck makes some minor corrections to the original. See the Description of the original for details: https://www.slideshare.net/pjschwarz/sierpinski-triangle-polyglot-fp-for-fun-and-profit-haskell-and-scala.

Take the very first baby steps on the path to doing graphics in Haskell and Scala.

Learn about a simple yet educational recursive algorithm producing images that are pleasing to the eye.

Learn how functional programs deal with the side effects required to draw images.

See how libraries like Gloss and Doodle make drawing Sierpinski’s triangle a doddle.

Code for this slide deck:
https://github.com/philipschwarz/sierpinski-triangle-haskell-gloss
https://github.com/philipschwarz/sierpinski-triangle-scala-cats-io
https://github.com/philipschwarz/sierpinski-triangle-scala-awt-and-doodle

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

  • Be the first to like this

×