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

mia_consensus.hc does not compile under Haskell 8.6.5 #2

Open
aersoares81 opened this issue Apr 30, 2021 · 0 comments
Open

mia_consensus.hc does not compile under Haskell 8.6.5 #2

aersoares81 opened this issue Apr 30, 2021 · 0 comments

Comments

@aersoares81
Copy link

aersoares81 commented Apr 30, 2021

It spits out this error:

`
[1 of 1] Compiling Main ( mia_consensus.hs, mia_consensus.o )

mia_consensus.hs:13:31: error:
• Variable not in scope: toAmbicode :: String -> Char
• Perhaps you meant ‘to_ambicode’ (line 10)
|
13 | defaultOpts = return $ Opts 1 toAmbicode putStr
| ^^^^^^^^^^

mia_consensus.hs:19:69: error:
Variable not in scope: toNucleotide :: String -> Char
|
19 | Option "n" ["only-n"] (NoArg (\c -> return $ c { to_ambicode = toNucleotide }))
| ^^^^^^^^^^^^

mia_consensus.hs:21:79: error:
• Variable not in scope: toAmbicode :: String -> Char
• Perhaps you meant ‘to_ambicode’ (line 10)
|
21 | Option "i" ["iupac"] (NoArg (\c -> return $ c { to_ambicode = toUpper . toAmbicode }))
| ^^^^^^^^^^

mia_consensus.hs:23:69: error:
• Variable not in scope: toAmbicode :: String -> Char
• Perhaps you meant ‘to_ambicode’ (line 10)
|
23 | Option "g" ["gaps"] (NoArg (\c -> return $ c { to_ambicode = toAmbicode }))
| ^^^^^^^^^^

mia_consensus.hs:45:14: error:
Variable not in scope:
call_cons :: Double -> (String -> Char) -> [Char] -> Char
|
45 | map (call_cons percent to_ambicode . map toUpper) .
| ^^^^^^^^^
`

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

1 participant