freckle / guides

Freckle guides and best practices
MIT License
53 stars 7 forks source link

fomatting typo in best-practies #83

Closed pdavidow closed 1 year ago

pdavidow commented 1 year ago

https://github.com/freckle/guides/blob/main/haskell-best-practices.md

Note that the constructor's argument type doesn't have to match the type argument of the data type (see LessThan and Cond above). The following is perfectly legal (though of dubious utility): ```haskell data Thing a where ThingA :: Int -> Thing Bool ThingB :: Bool -> Thing Int

CREATED PULL REQUEST

pbrisbin commented 1 year ago

Fixed in 365bf4b7618a517a81f482d8b868e90a57b1b077. Thanks!