Closed ChrisPenner closed 5 years ago
Howdy! I found another dark corner of Haskell syntax:
{-# LANGUAGE TemplateHaskell #-} import Text.RawString.QQ myStringThing :: String myStringThing = [r| delete from myTable where user = ? |]
Ends up:
floskell: <stdin>:4:11: Parse error: where CallStack (from HasCallStack): error, called at src/main/Main.hs:164:12 in main:Main
Cheers! 🍻
Whoops, think I just forgot to add QuasiQuoter to language pragmas 😅
QuasiQuoter
Howdy! I found another dark corner of Haskell syntax:
Ends up:
Cheers! 🍻