We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original bug ID: 3389 Reporter: administrator Status: closed Resolution: won't fix Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general)
Full_Name: Ethan Aubin Version: 3.08.1 OS: cygwin Submission from: foster-miller.com (64.119.130.179)
Hi, I would like to use let rec for the recursive definition of object values. Something along the lines of:
class number_stream (first : int) (next : number_stream) = object val v = first val next = next end
let rec ones = new number_stream 1 ones in ones;;
Thanks -- ethan.aubin@pobox.com
The text was updated successfully, but these errors were encountered:
Comment author: administrator
see #3394
Sorry, something went wrong.
No branches or pull requests
Original bug ID: 3389
Reporter: administrator
Status: closed
Resolution: won't fix
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Ethan Aubin
Version: 3.08.1
OS: cygwin
Submission from: foster-miller.com (64.119.130.179)
Hi, I would like to use let rec for the recursive definition of object values.
Something along the lines of:
class number_stream (first : int) (next : number_stream) = object
val v = first
val next = next
end
let rec ones = new number_stream 1 ones
in ones;;
Thanks -- ethan.aubin@pobox.com
The text was updated successfully, but these errors were encountered: