Jaro
Jaro
This is most noticable when looking straight down and rotating the camera.
Using [simplex](https://en.wikipedia.org/wiki/Simplex_noise) or [perlin](https://en.wikipedia.org/wiki/Perlin_noise) noise.
Recently, [Luke McCartney on discourse](https://discourse.haskell.org/t/creating-functor-class/8514) was confused by a bad error message. He wrote this code: ```haskell import Prelude hiding (map, Maybe, Nothing, Just, (), liftA2) class Functor f =>...
I just encountered this one: ```haskell import Data.Primitive.SmallArray import Data.Primitive.PrimArray import Data.Primitive (Prim) smallToPrim :: Prim b => (a -> b) -> SmallArray a -> PrimArray b smallToPrim f xs...
I got inspired to write this after watching [this video about teaching Haskell to kids](https://www.youtube.com/watch?v=uTmQ_JtjHgw). I am now convinced Haskell's error messages could be improved greatly and I have very...
Inspired by [this stackoverflow question](https://stackoverflow.com/q/74259720/15207568), I imagine a common mistake newcomers make when learning about pattern matching is that they use the name of the type instead of the name...
Inspired by [this stackoverflow question](https://stackoverflow.com/q/73329310). When running commands such as `cabal install --lib bytestring` the result may depend on what is already in the default environment file. However, cabal will...
I was just writing some code involving type classes: ```haskell import Control.Monad.Except class InSum x xs where inject :: x -> xs instance InSum x (Either x xs) where inject...