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

@? syntax errors #3155

Closed
mariari opened this issue Nov 7, 2024 · 1 comment
Closed

@? syntax errors #3155

mariari opened this issue Nov 7, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@mariari
Copy link
Member

mariari commented Nov 7, 2024

Describe the bug

Stdlib.Prelude> snoc@?{elem := 5}
Maybe.fromJust: Nothing
CallStack (from HasCallStack):
  error, called at libraries/base/Data/Maybe.hs:150:21 in base:Data.Maybe
  fromJust, called at src/Juvix/Compiler/Internal/Translation/FromConcrete.hs:873:16 in juvix-0.6.6-63HcRSLJPON7XBeV31D9oO:Juvix.Compiler.Internal.Translation.FromConcrete

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Juvix Version [e.g. 22] Juvix version 0.6.6-0961d87

To Reproduce
Steps to reproduce the behavior:

Expected behavior
No idea what this syntax should do

@janmasrovira janmasrovira self-assigned this Nov 8, 2024
@lukaszcz lukaszcz added this to the 0.6.9 milestone Nov 15, 2024
@paulcadman
Copy link
Collaborator

We agreed to remove the @? syntax:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants