How to trace values of a recursive PureScript function in the repl?

前端 未结 0 1768
南笙
南笙 2021-01-03 02:49

With this Main.purs (excluding imports):

main :: Effect Unit
main = pure foo

foo :: Unit
foo = trace "foo" (\\_ -> unit)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题