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
Won't compile! #3
Comments
Thanks for the report! It might be version drift against Would you like to try changing the |
$ git pull $ cat regex-genex.cabal library executable genex source-repository head Where do I put it? On Mon, Jan 19, 2015 at 5:50 AM, 唐鳳 notifications@github.com wrote:
Rick Richardson rickrich@gmail.com http://rickrich1.home.comcast.net/ |
Thanks! On Mon, Jan 19, 2015 at 6:49 AM, 唐鳳 notifications@github.com wrote:
Rick Richardson rickrich@gmail.com http://rickrich1.home.comcast.net/ |
$ make
cabal install
Resolving dependencies...
Configuring regex-genex-0.6.0...
Building regex-genex-0.6.0...
Preprocessing library regex-genex-0.6.0...
[3 of 3] Compiling Regex.Genex ( src/Regex/Genex.hs, dist/build/Regex/Genex.o )
src/Regex/Genex.hs:176:27:
Couldn't match expected type
Status -> Status' with actual type
Status'In the expression:
Status
{ok = symbolicMerge t (ok s1) (ok s2),
pos = symbolicMerge t (pos s1) (pos s2),
flips = symbolicMerge t (flips s1) (flips s2),
captureAt = symbolicMerge t (captureAt s1) (captureAt s2),
captureLen = symbolicMerge t (captureLen s1) (captureLen s2)}
In an equation for
symbolicMerge': symbolicMerge t s1 s2 = Status {ok = symbolicMerge t (ok s1) (ok s2), pos = symbolicMerge t (pos s1) (pos s2), flips = symbolicMerge t (flips s1) (flips s2), captureAt = symbolicMerge t (captureAt s1) (captureAt s2), captureLen = symbolicMerge t (captureLen s1) (captureLen s2)} In the instance declaration for
Mergeable Status'src/Regex/Genex.hs:177:12:
Couldn't match type
SBool -> SBool' with
SBV Bool'Expected type: SBool
Actual type: SBool -> SBool
In the return type of a call of
symbolicMerge' Probable cause:
symbolicMerge' is applied to too few argumentsIn the `ok' field of a record
In the expression:
Status
{ok = symbolicMerge t (ok s1) (ok s2),
pos = symbolicMerge t (pos s1) (pos s2),
flips = symbolicMerge t (flips s1) (flips s2),
captureAt = symbolicMerge t (captureAt s1) (captureAt s2),
captureLen = symbolicMerge t (captureLen s1) (captureLen s2)}
src/Regex/Genex.hs:177:32:
Couldn't match type
SBV Bool' with
Status'Expected type: Status
Actual type: SBool
In the first argument of
ok', namely
s1'In the second argument of
symbolicMerge', namely
(ok s1)'In the `ok' field of a record
src/Regex/Genex.hs:178:13:
Couldn't match type
Offset -> Offset' with
SBV Len'Expected type: Offset
Actual type: Offset -> Offset
In the return type of a call of
symbolicMerge' Probable cause:
symbolicMerge' is applied to too few argumentsIn the `pos' field of a record
In the expression:
Status
{ok = symbolicMerge t (ok s1) (ok s2),
pos = symbolicMerge t (pos s1) (pos s2),
flips = symbolicMerge t (flips s1) (flips s2),
captureAt = symbolicMerge t (captureAt s1) (captureAt s2),
captureLen = symbolicMerge t (captureLen s1) (captureLen s2)}
src/Regex/Genex.hs:178:30:
Couldn't match type
Word16' with
Bool'Expected type: SBool
Actual type: Offset
In the return type of a call of
pos' In the second argument of
symbolicMerge', namely(pos s1)' In the
pos' field of a recordsrc/Regex/Genex.hs:178:34:
Couldn't match type
SBV Bool' with
Status'Expected type: Status
Actual type: SBool
In the first argument of
pos', namely
s1'In the second argument of
symbolicMerge', namely
(pos s1)'In the `pos' field of a record
src/Regex/Genex.hs:179:15:
Couldn't match type
Flips -> Flips' with
[SWord64]'Expected type: Flips
Actual type: Flips -> Flips
In the return type of a call of
symbolicMerge' Probable cause:
symbolicMerge' is applied to too few argumentsIn the `flips' field of a record
In the expression:
Status
{ok = symbolicMerge t (ok s1) (ok s2),
pos = symbolicMerge t (pos s1) (pos s2),
flips = symbolicMerge t (flips s1) (flips s2),
captureAt = symbolicMerge t (captureAt s1) (captureAt s2),
captureLen = symbolicMerge t (captureLen s1) (captureLen s2)}
src/Regex/Genex.hs:179:32:
Couldn't match type
[SWord64]' with
SBV Bool'Expected type: SBool
Actual type: Flips
In the return type of a call of
flips' In the second argument of
symbolicMerge', namely(flips s1)' In the
flips' field of a recordsrc/Regex/Genex.hs:179:38:
Couldn't match type
SBV Bool' with
Status'Expected type: Status
Actual type: SBool
In the first argument of
flips', namely
s1'In the second argument of
symbolicMerge', namely
(flips s1)'In the `flips' field of a record
src/Regex/Genex.hs:180:19:
Couldn't match type
Captures -> Captures' with
SFunArray Word8 Len'Expected type: Captures
Actual type: Captures -> Captures
In the return type of a call of
symbolicMerge' Probable cause:
symbolicMerge' is applied to too few argumentsIn the `captureAt' field of a record
In the expression:
Status
{ok = symbolicMerge t (ok s1) (ok s2),
pos = symbolicMerge t (pos s1) (pos s2),
flips = symbolicMerge t (flips s1) (flips s2),
captureAt = symbolicMerge t (captureAt s1) (captureAt s2),
captureLen = symbolicMerge t (captureLen s1) (captureLen s2)}
src/Regex/Genex.hs:180:36:
Couldn't match type
SFunArray Word8 Len' with
SBV Bool'Expected type: SBool
Actual type: Captures
In the return type of a call of
captureAt' In the second argument of
symbolicMerge', namely(captureAt s1)' In the
captureAt' field of a recordsrc/Regex/Genex.hs:180:46:
Couldn't match type
SBV Bool' with
Status'Expected type: Status
Actual type: SBool
In the first argument of
captureAt', namely
s1'In the second argument of
symbolicMerge', namely
(captureAt s1)'In the `captureAt' field of a record
src/Regex/Genex.hs:181:20:
Couldn't match type
Captures -> Captures' with
SFunArray Word8 Len'Expected type: Captures
Actual type: Captures -> Captures
In the return type of a call of
symbolicMerge' Probable cause:
symbolicMerge' is applied to too few argumentsIn the `captureLen' field of a record
In the expression:
Status
{ok = symbolicMerge t (ok s1) (ok s2),
pos = symbolicMerge t (pos s1) (pos s2),
flips = symbolicMerge t (flips s1) (flips s2),
captureAt = symbolicMerge t (captureAt s1) (captureAt s2),
captureLen = symbolicMerge t (captureLen s1) (captureLen s2)}
src/Regex/Genex.hs:181:37:
Couldn't match type
SFunArray Word8 Len' with
SBV Bool'Expected type: SBool
Actual type: Captures
In the return type of a call of
captureLen' In the second argument of
symbolicMerge', namely(captureLen s1)' In the
captureLen' field of a recordsrc/Regex/Genex.hs:181:48:
Couldn't match type
SBV Bool' with
Status'Expected type: Status
Actual type: SBool
In the first argument of
captureLen', namely
s1'In the second argument of
symbolicMerge', namely
(captureLen s1)'In the `captureLen' field of a record
Failed to install regex-genex-0.6.0
cabal: Error: some packages failed to install:
regex-genex-0.6.0 failed during the building phase. The exception was:
ExitFailure 1
make: *** [install] Error 1
The text was updated successfully, but these errors were encountered: