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

Weird elixir syntax error #1

Open
srcrip opened this issue Jan 24, 2022 · 3 comments
Open

Weird elixir syntax error #1

srcrip opened this issue Jan 24, 2022 · 3 comments

Comments

@srcrip
Copy link

srcrip commented Jan 24, 2022

Hi,

I'm getting this strange syntax error with your library:

== Compilation error in file lib/markov.ex ==
** (SyntaxError) lib/markov.ex:47:44: syntax error before: '*'
    (elixir 1.12.3) lib/kernel/parallel_compiler.ex:319: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7

I'm using Elixir 1.12.3. Any ideas?

@srcrip srcrip changed the title Wierd elixir syntax error Weird elixir syntax error Jan 24, 2022
@srcrip
Copy link
Author

srcrip commented Jan 24, 2022

I think I may have answered my question... It looks like ** must have been added in elixir 1.13?

Might want to update the mix.exs to specify 1.13 though!

@portasynthinca3
Copy link
Owner

Got it, thanks!

@portasynthinca3
Copy link
Owner

Looks like this operator is actually pretty old. This article from Jan 1st 2021 talks about it, but Elixir v1.13 was only released in December 2021

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

No branches or pull requests

2 participants