Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dhall bash] New syntax for Optional value not supported ? #735

Closed
PierreR opened this issue Dec 3, 2018 · 0 comments
Closed

[Dhall bash] New syntax for Optional value not supported ? #735

PierreR opened this issue Dec 3, 2018 · 0 comments

Comments

@PierreR
Copy link
Contributor

PierreR commented Dec 3, 2018

→ dhall <<< 'Some "foo"'
Some "foo"

→ dhall-to-bash --declare FOO <<< 'Some "foo"'
 
→ eval $(dhall-to-bash --declare FOO <<< 'Some "foo"')                                                                                                                                                                                   

Error: Cannot translate to a Bash statement

Explanation: Only primitive values, records, ❰List❱s, and ❰Optional❱ values can
be translated from Dhall to a Bash statement

The following Dhall expression could not be translated to a Bash statement:

↳ Some "foo"
→ dhall-to-bash --declare BAR <<< 'None Text'                                                                                                                                                                                              

Error: Cannot translate to a Bash statement

Explanation: Only primitive values, records, ❰List❱s, and ❰Optional❱ values can
be translated from Dhall to a Bash statement

The following Dhall expression could not be translated to a Bash statement:

↳ None Text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant