symantic-parser-0.1.0.20210201: test/Parser/Playground.hs
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE TemplateHaskell #-}
module Parser.Playground where
import Symantic.Parser
import qualified Symantic.Parser.Haskell as H
boom :: Applicable repr => repr ()
boom =
let foo = (-- newRegister_ unit (\r0 ->
let goo = (-- newRegister_ unit (\r1 ->
let hoo = {-get r0 <~> get r1 *>-} goo *> hoo in hoo
) *> goo
in goo) *> pure H.unit
in foo *> foo