[
https://issues.apache.org/jira/browse/CLOWNFISH-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571754#comment-14571754
]
Marvin Humphrey commented on CLOWNFISH-55:
------------------------------------------
Dev list discussion: http://s.apache.org/SRH http://s.apache.org/e9P
> "MAYBE" sum types
> -----------------
>
> Key: CLOWNFISH-55
> URL: https://issues.apache.org/jira/browse/CLOWNFISH-55
> Project: Apache Lucy-Clownfish
> Issue Type: Improvement
> Components: Core
> Reporter: Marvin Humphrey
>
> By using "MAYBE" sum types which represent either a valid specific type or an
> error, it becomes possible to encode error conditions into return types and
> avoid throwing exceptions which escape the Clownfish runtime. These "MAYBE"
> types can be mapped to exceptions for some hosts at the C/host border --
> allowing us to accommodate both host languages where exceptions are
> problematic (Go, embedded C) and languages where exceptions are idiomatic
> (Python, Perl, Ruby).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)