Open puripuri2100 opened 4 years ago
Same here, is this by design?
Currently this is a limitation of SATySFi; a type including public constructors must be defined in the top level. But this is not by design, I suppose. @gfngfn said this is just "not implemented yet": https://twitter.com/bd_gfngfn/status/1178332243514646528.
Currently this is a limitation of SATySFi; a type including public constructors must be defined in the top level.
Yes, it is. As said above, a simple workaround is to define the type in the top-level scope.
These days, however, I plan to extend SATySFi’s module system into the one based on F-ing modules [1]. Since this formalization supports the exposure of type definitions in modules, we will probably be able to provide such functionality.