Tag: haskell

  • Welcome to 2015 (part 2)

    Bloody hell! I just wrote a blog post and WordPress lost it. Grrrr … The short resume was : – yes, I’m late (Feb) continuing my “Welcome to 2015” blog posts. – last year I got the functional programming bug. Haskell is pretty damned good, but I’ve fallen for Clojure because a) dynamic types, b)…

  • Are Languages Still Evolving Towards Lisp?

    My Quora answer to the question “Is it still reasonable to say mainstream languages are generally trending towards Lisp, or is that no longer true?“ Based on my recent experiments with Haskell and Clojure. Lisp is close to a pure mathematical description of function application and composition. As such, it offers one of the most…

  • Learn You a Haskell 4 – Questions

    Asking questions on StackOverflow : Haskell : Using defined data types in other data types. Haskell : Attaching Optional Attributes

  • Learn You a Haskell 3 – Types and Typeclasses

    I’m on the Making Our Own Types and Typeclasses chapter. With prompting from the tutorial, knocked up the classic binary tree : data Tree a = EmptyTree | Node a (Tree a) (Tree a) deriving (Show, Read, Eq) root x = Node x EmptyTree EmptyTree tInsert x EmptyTree = root x tInsert x (Node val…

  • Learn You a Haskell 2

    Yes … I’m getting the picture. Laziness is pretty damned useful. You can basically just not worry about the end conditions for all those infinite series and lists you’re searching in.

  • Learn You a Haskell

    So I decided to actually sit down and Learn Me a Haskell. Worked through the first few sections. Kind of what I knew already except I think I’m getting a glimmer of why Currying / Partial Application is a good idea, at least in that it’s a very concise way of making higher-order functions on…

  • Programming Language Features for Large Scale Software

    My Quora Answer to the question : What characteristics of a programming language makes it capable of building very large-scale software? The de facto thinking on this is that the language should make it easy to compartmentalize programming into well segregated components (modules / frameworks) and offers some kind of “contract” idea which can be…

  • Monads in Python (Again)

    Dustin Getz provides one of the best “Monads for idiot Python programmers” explanations I’ve seen. Excellent! I think I almost do understand this one.

  • Prediction I made : I predict that in five years time, the hot language will either be a version of Python which has adopted ideas (Pattern matching arguments, Monads, immutability etc.) from Haskell; or a Haskell-like language which has borrowed some syntactic sugar from Python. Don’t know if I entirely believe that, but it’s a…

  • Fascinating functional languages and silver bullets.