Remove forgotten .field from docs.

This commit is contained in:
Matus Tejiscak 2020-06-20 23:52:42 +02:00 committed by G. Allais
parent b46064f688
commit 3b6d7a22e3

View File

@ -988,8 +988,8 @@ type. The field names can be used to access the field values:
"Fred" : String
*Record> fred.age
30 : Int
*Record> :t (.firstName)
Main.Person.(.firstName) : Person -> String
*Record> :t firstName
firstName : Person -> String
We can use prefix field projections, like in Haskell:
@ -999,8 +999,6 @@ We can use prefix field projections, like in Haskell:
"Fred" : String
*Record> age fred
30 : Int
*Record> :t firstName
firstName : Person -> String
We can also use the field names to update a record (or, more
precisely, produce a copy of the record with the given fields