-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add support for ADTs with lifetimes #75
Comments
Yes, we don't support ADTs with lifetimes for now (I intend to lift this soon). |
This also impacts fn foo(s: &str) {
let _c = s.chars();
}
|
This was solved by #367 axiom core.str.iter.Chars : Type
axiom core.str.str.chars : Str → Result core.str.iter.Chars
def foo (s : Str) : Result Unit :=
do
let _ ← core.str.str.chars s
Result.ok () Note that this made noticed that |
Code:
Output:
The text was updated successfully, but these errors were encountered: