Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132944 views
License: OTHER
1
Prelude> let mylist = [1,2,3,4,5,6]
2
Prelude> let test = [x | x <- mylist, x>2]
3
Prelude> test
4
[3,4,5,6]
5
6