You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2720 Reporter: administrator Assigned to:@garrigue Status: closed (set by @garrigue on 2013-07-29T04:06:41Z) Resolution: not a bug Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general) Related to:#5955 Monitored by:@mmottl cspiel
Bug description
Hi,
as it seems, local modules cannot be recursive. Is this just a matter
of updating the syntax, or are there semantical problems here?
There is no theoretical reason, but I see at least 2 practical reasons.
First, if you add recursive bindings, you also need parallel bindings.
This gets heavy.
Second, the point about local modules is that they can wrap any kind of definition.
In particular, recursive modules too can be handled that way.
This is a really old request. I agree with Jacques that there doesn't seem to be any need for this, since a local or first-class module can contain recursive sub-modules. This request can be closed.
Original bug ID: 2720
Reporter: administrator
Assigned to: @garrigue
Status: closed (set by @garrigue on 2013-07-29T04:06:41Z)
Resolution: not a bug
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Related to: #5955
Monitored by: @mmottl cspiel
Bug description
Hi,
as it seems, local modules cannot be recursive. Is this just a matter
of updating the syntax, or are there semantical problems here?
Best regards,
Markus
--
Markus Mottl http://www.oefai.at/~markus markus@oefai.at
The text was updated successfully, but these errors were encountered: