Skip to content

Dotty code examples for "What can FP learn from Grammars?"

Notifications You must be signed in to change notification settings

landerlo/lc19-talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lc19-talk

Dotty code examples for "What can FP learn from Grammars?"

Code explanation and examples in AlgebraicApplication.scala

$ sbt console
scala> val intCode: RFun1[Int, String] = (i:Int) => "int $i"
scala> val x = RD3[Int, Boolean, Double](false)

scala> val y: String | Boolean | Double = x |> intCode
 

About

Dotty code examples for "What can FP learn from Grammars?"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages