Haskell

Home Programming Haskell

Haskell: List Comprehension; Generators, Guards, Examples

Being able to manipulate lists is really important in any language. Haskell isn't as difficult as it may seem at first. I think the majority of...

Haskell: Polymorphic Types (Using a, [a]) & Basic Recursion Introduction

Polymorphic types are types that are "universally quantified in some way over all types". What a mouthful. Basically, it makes it so we can use a...

Haskell Beginner Tutorial: Installing, First Program, Running, Basic Error Handling

Haskell, unlike most the more common languages, is a declarative programming language. So, the way we write programs in haskell is a tad different to what...

Haskell: How To Rewrite The “Last” Function from Scratch

Just finished a Computer Science lecture today, and two of the main questions that stumped me in our lab tasks were on rewriting the...