Parse records and keyed collection queries

This commit is contained in:
sneeker committed 2017-01-18 11:07:00 +00:00
1 parent 698f98b835
commit 161da97368
11 files changed
+324 -4

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
type order = {
customer : string;
total : int;
}
input orders : collection order
query count_large =
orders |> filter (fun o -> o.total > 500) |> count