Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually, at least one does and for the wrong reason (an attribute named True, for example, needs to be quoted):

  { -- Unlike YAML, Dhall does not accept YES|NO|ON|OFF
    validDhallBools = [ True, False ]
      , someNumbers = [ 1
    ,
  -- Dhall is not indentation-sensitive
  2, 3 ]
    -- Field names that conflict with reserved identifiers must be quoted
  , `True` = True
  , version = "9.3"  {- Strings must be quoted

                        All Dhall literals have unambiguous types -}
  }


Thanks, I'm surprised I missed that!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: