Skip to content
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

Roc repl auto indentation #5101

Closed
swork1 opened this issue Mar 7, 2023 · 2 comments
Closed

Roc repl auto indentation #5101

swork1 opened this issue Mar 7, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@swork1
Copy link
Contributor

swork1 commented Mar 7, 2023

I started going through some of the tutorial using "roc repl" and I'm curious if the repl is planning on having automatic indentation when creating functions. Example below

» test = \a -> (press enter after the ->)
… a (press enter - doesn't auto indent) -- compiler sad (error)

» test = \a -> (press enter after the ->)
… a (press space, press enter) -- compiler happy

@lukewilliamboswell
Copy link
Collaborator

See zulip discussion for more information.

@lukewilliamboswell lukewilliamboswell added the good first issue Good for newcomers label Mar 8, 2023
@swork1
Copy link
Contributor Author

swork1 commented Mar 15, 2023

See zulip discussion for more information.

I posted in zulip after researching a bit into rustyline

"It seems RustyLine doesn't support indentation"
kkawakam/rustyline#453
kkawakam/rustyline#466

@swork1 swork1 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants