learnyouahaskell.github.io icon indicating copy to clipboard operation
learnyouahaskell.github.io copied to clipboard

Add pattern guards

Open kephas opened this issue 1 year ago • 2 comments

Pattern guards are part of the guard syntax in Haskell2010 and I think they should be included in the book. I'm not certain how to introduce them without making the existing text neither confusing nor too simplistic, but here's my first attempt.

kephas avatar Jan 07 '24 19:01 kephas

Thanks for the input @ulysses4ever, that's clearer that way!

kephas avatar Jan 17 '24 22:01 kephas

@memowe @xogcox @konsumlamm is there something I should change in this PR?

kephas avatar Mar 08 '24 16:03 kephas

@kephas Thank you for your contribution! 🙂

smith558 avatar Mar 19 '24 10:03 smith558