|
Scala example source code file (gadts1.check)
The Scala gadts1.check source codegadts1.scala:15: error: type mismatch; found : Test.Double required: a case NumTerm(n) => c.x = Double(1.0) ^ gadts1.scala:20: error: class Cell of type Test.Cell does not take type parameters. case Cell[a](x: Int) => c.x = 5 ^ gadts1.scala:20: error: type mismatch; found : Int(5) required: a case Cell[a](x: Int) => c.x = 5 ^ three errors found Other Scala examples (source code examples)Here is a short list of links related to this Scala gadts1.check source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.