Haskell

Real World Haskell: Chapter 5

Chapter 5 of Real World Haskell covers the creation of our first Haskell module. The chapter seems to come prematurely from my perspective. I am not yet concerned about making a module while I'm still trying to understand the language.

Soundex Algorithm

Last week I noticed that the MySQL "sounds like" operator uses the soundex algorithm to determine if two words sound alike. The algorithm is English centric and was designed around the time of the time of the 1880 census. It has been used in the US census since 1880 to account for miss or different spellings of family names.

Real World Haskell: Chapter 4

Chapter 4 of Real World Haskell begins with some details about functions with side effects and interacting with the outside world.

Haskell Pattern Matching and Network CIDR's

I was recently faced with the following code which is simple but provided the perfect example to practice some Haskell.

I needed to calculate how many IPs there are in a subnet based just on the CIDR provided. The concept is simple, the CIDR indicates how many bits must match between a route and a destination to determine if a route should be taken.

Real World Haskell: Chapter 3

Chapter 3 of Real World Haskell is "Defining Types, Streamlining Functions."

At first glance Haskell seems to get stuck in it's own terseness, creating datastructures with no real structure, if you will.

Haskell example:
 

Real World Haskell: Chapters 1-2

Chapter 1 of Real World Haskell covers the most basic aspects of the language, such as common operators and operator precedence and gives some overviews of aspects of the language.

Syndicate content