Parse records and keyed collection queries

This commit is contained in:
milner committed 2017-01-18 11:07:00 +00:00
1 parent a036abb227
commit 999bee7052
11 files changed
+324 -4

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
type order = {
customer : string;
total : int;
}
input orders : collection order
let tax n = n * 20 / 100
query revenue =
orders |> map (fun o -> tax o.total) |> sum