
17 Oct
2013
17 Oct
'13
1:02 a.m.
On Thu, Oct 17, 2013 at 4:18 AM, Miro Karpis
Hi, please,...is it possible to use a capital letter in record syntax data definition? For example
data Car = Car { CarName :: !Text ,CarColor :: !Text } deriving (Show,Generic)
What Karl said. You can prefix an underscore however: _CarName, _CarColor. -- Kim-Ee