lambdacube3d / lambdacube-compiler

LambdaCube 3D is a Haskell-like purely functional language for GPU. Try it out:
http://lambdacube3d.com
Other
85 stars 9 forks source link

Fix as-pattern for GHC 9 #23

Open ScottFreeCode opened 11 months ago

ScottFreeCode commented 11 months ago

Based on the below; resolves an error, "Suffix occurrence of @. For an as-pattern, remove the leading whitespace."

https://stackoverflow.com/questions/67972231/syntax-for-lazy-pattern-matching-with-as-syntax

https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#whitespace-sensitive-and-

With the combination of #19, #21 and this, the binary builds on current GHC and dependency package set versions.