[Haskell-cafe] extra semi-colons

Tom Ellis tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Tue Jun 25 13:47:29 UTC 2019


On Tue, Jun 25, 2019 at 12:43:03PM +0200, Johannes Waldmann wrote:
> But it's not in the grammar?
> 
>    alts 	→ 	alt1 ; … ; altn 	    (n ≥ 1)
> 
> https://www.haskell.org/onlinereport/haskell2010/haskellch3.html#x8-460003.13

The rule "alt" allows "(empty alternative)"


More information about the Haskell-Cafe mailing list