]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListComprehensionBug1.scl
Fixed a bug related to as-pattern in list comprehension.
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ListComprehensionBug1.scl
1 import "Prelude"
2
3 f :: [(String,String)] -> [(String,String,String)] 
4 f l = [(show m,x,y) | m@(x,y) <-l ]
5
6 main = f []  
7 --
8 []