A New Language
- Shray Pungaliya
- Mar 6, 2017
- 1 min read
Although I've studied functional programming in the past, I have never dealt with a language considered "purely functional." After some searching, I took interest in the language Haskell. I interviewed a prominent member of the Haskell Community, Tikhon Jelvis, and asked him questions that helped me solidify my idea to use Haskell as my primary language throughout this project. Currently, I am working through a book he introduced me to, Programming In Haskell. Using this book, I'll prepare myself to use Haskell and implement algorithms, especially maze-creating and maze-solving. The book has extended examples, and I have learned concepts foreign to me such as Guarded Equations and Lambda Calculus. Such concepts form the base of understanding functional programming, and I have found them time-consuming to grasp, but simple to utilize. Moving forward, I'll finish the rest of part 1 of the book, continuing to work on the extended exercises. For reference, I have provided some other concepts that I have picked up so far:
Recursion - Using a function to define itself
Mutual Recursion - Using multiple functions to define themselves by calling on each other
Pattern Matching - Using specific patterns to decide output of a function
Currying - Using functions to return other functions
Higher Order Functions - Functions that can take other functions as arguments
Comments