symantic-parser-0.2.0.20210703: parsers/Parsers/Playground.hs
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE TemplateHaskell #-}
module Parsers.Playground where
import Symantic.Parser
import qualified Symantic.Typed.Lang as Prod
boom :: CombApplicable 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 Prod.unit
in foo *> foo