/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

mmhaskell.com
| | pbrisbin.com
3.3 parsecs away

Travel
| | In Haskell, functions must always return the same consistent type. There is also no concept of nil or null built into the language. This is not meant to handicap you, and the expressiveness and polymorphic-ness of Haskell's types mean it certainly does not. One way to handle such situations where functions (conceptually) may or may not return a value is through the Maybe type. data Maybe a = Just a | Nothing Maybe is a perfect and simple solution for this situation.
| | kndrck.co
1.8 parsecs away

Travel
| | Prelude State monads, introduced to me during the data61 functional programming course was one of my most memorable encounter with a monad. This was mainly because things only started to clicked and made a tiny bit of sense after a couple of weeks of frustration. This article is my attempt to explain the underlying mechanics of the State Monad to try and relief the frustration of whomever who was in my position.
| | diego.codes
2.5 parsecs away

Travel
| | Data Scientist. I like music, keyboards and Legos. Proficient in pop culture references and xkcd.
| | limpet.net
21.5 parsecs away

Travel
| [AI summary] This article explains Rust's memory safety guarantees by reframing the compiler's borrowing and lifetime checks as a system of unique versus shared access to data.