Henry Blanchette
929cf7f19c
added range
2022-08-17 11:09:01 -07:00
Henry Blanchette
70ca677079
specializeExpr EPropGuards
2022-08-17 11:05:46 -07:00
Henry Blanchette
3115270599
redundant import
2022-08-17 10:56:17 -07:00
Henry Blanchette
11e943db4e
remove old comments
2022-08-17 10:55:11 -07:00
Henry Blanchette
03f6b4c16f
no need to panic
2022-08-17 10:52:31 -07:00
Henry Blanchette
e4e242be16
dont need LambdaCase
2022-08-17 10:52:03 -07:00
Henry Blanchette
fd0df8bbf6
making use of EPropGuards' schema
2022-08-17 10:51:41 -07:00
Henry Blanchette
a78e6a33e2
added field Schema of EPropGuards
2022-08-17 10:48:17 -07:00
Henry Blanchette
cc15341f51
removed comment
2022-08-17 10:32:00 -07:00
Henry Blanchette
556e12f746
[ci skip]
2022-08-15 14:48:13 -07:00
Henry Blanchette
2954247299
new test: insert
2022-08-15 14:46:25 -07:00
Henry Blanchette
38c72b2815
type in filename [ci skip]
2022-08-15 13:18:16 -07:00
Henry Blanchette
98e944e9fc
added Mergesort, removed old tests
2022-08-15 10:19:11 -07:00
Ryan Scott
583ccc2be6
Merge pull request #1403 from GaloisInc/ubuntu-22.04
...
CI: Use Ubuntu 22.04, drop 18.04
2022-08-15 12:17:34 -04:00
Ryan Scott
0d4b555cf0
CI: Upgrade from 9.2.2 to 9.2.4
...
This is needed to work around https://gitlab.haskell.org/ghc/ghc/-/issues/20592
on macOS.
2022-08-15 08:16:19 -04:00
Ryan Scott
287a7f0f71
CI: Use Ubuntu 22.04, drop 18.04
...
GitHub Actions has deprecated its Ubuntu 18.04 runners, and they will be
removed by December 1, 2022. Moreover, GitHub Actions now offers Ubuntu 22.04
runners. It seems like a good time to upgrade our CI accordingly.
Somewhat annoyingly, the `haskell` Docker images that we use in our Dockerfiles
use such an old version of Debian that their version of `glibc` is incompatible
with any of the `what4-solvers` built for Ubuntu 20.04 or 22.04. As a result, I
switched them from the `haskell` Docker image to the `ubuntu` one. This
required some minor tweaks to how dependencies are installed, but nothing too
serious.
2022-08-15 08:16:19 -04:00
Ryan Scott
486db7b149
Regenerate cabal.GHC-*.config files
2022-08-15 08:16:17 -04:00
Henry Blanchette
961cb004e3
cryptolError for ExpandPropGuardsError
2022-08-13 14:37:47 -07:00
Henry Blanchette
c33c3fd1c4
updated docs [ci skip]
2022-08-13 14:22:26 -07:00
Henry Blanchette
57cb59a845
Merge branch 'master' into conditional-constraints
2022-08-13 14:20:41 -07:00
Henry Blanchette
3de78ab125
freeVars EPropGuards
2022-08-12 23:21:44 -07:00
Henry Blanchette
dbd7a662ca
exprSchema EPropGuards shouldn't happen
2022-08-12 23:19:58 -07:00
Henry Blanchette
19d4724e85
showParseable EPropGuards
2022-08-12 23:17:32 -07:00
Henry Blanchette
3698ed08a3
Inst Expr case for EPropGuards
2022-08-12 23:12:48 -07:00
Henry Blanchette
0b28062396
fastSchemaOf for EPropGuards
2022-08-12 23:10:54 -07:00
Henry Blanchette
fcce470d1e
updated docs to reflect new warning
2022-08-12 23:08:00 -07:00
Henry Blanchette
fb39dc95de
constraint guards example: inits
2022-08-12 23:05:21 -07:00
Henry Blanchette
722ca3f174
exhaustive constraints guards checking
2022-08-12 23:05:02 -07:00
Henry Blanchette
3cdb703413
properly handle censoring warnings
2022-08-12 23:04:48 -07:00
Bretton
e8a9edc071
CI: Add macOS case for test-lib outputs
2022-08-12 20:31:17 -07:00
Bretton
00d5913a07
FFI: Fix imports when FFI disabled
2022-08-12 19:07:23 -07:00
Bretton
b525ada873
FFI: Fix getForeignSrcPath
2022-08-12 18:35:13 -07:00
Bretton
39cb718843
FFI: Define getForeignSrcPath when FFI disabled
2022-08-12 18:28:05 -07:00
Bretton
57a385b311
FFI: Print message when loading dynamic library
2022-08-12 17:58:04 -07:00
Bretton
807d376604
FFI: Refactor foreign loading code
2022-08-12 17:46:02 -07:00
Iavor Diatchki
bd55b9617d
Fix typo
2022-08-12 18:24:40 +03:00
Iavor Diatchki
f77e5cc1c9
Merge remote-tracking branch 'origin/master' into functors-merge
...
# Conflicts:
# cryptol-remote-api/src/CryptolServer/Exceptions.hs
# cryptol.cabal
# docs/RefMan/_build/doctrees/BasicSyntax.doctree
# docs/RefMan/_build/doctrees/BasicTypes.doctree
# docs/RefMan/_build/doctrees/Expressions.doctree
# docs/RefMan/_build/doctrees/Modules.doctree
# docs/RefMan/_build/doctrees/OverloadedOperations.doctree
# docs/RefMan/_build/doctrees/RefMan.doctree
# docs/RefMan/_build/doctrees/TypeDeclarations.doctree
# docs/RefMan/_build/doctrees/environment.pickle
# docs/RefMan/_build/html/Modules.html
# docs/RefMan/_build/html/searchindex.js
# src/Cryptol/ModuleSystem.hs
# src/Cryptol/ModuleSystem/Base.hs
# src/Cryptol/ModuleSystem/Env.hs
# src/Cryptol/ModuleSystem/InstantiateModule.hs
# src/Cryptol/ModuleSystem/Monad.hs
# src/Cryptol/Parser/Token.hs
# src/Cryptol/Transform/AddModParams.hs
# src/Cryptol/TypeCheck/Error.hs
# src/Cryptol/TypeCheck/Infer.hs
# src/Cryptol/TypeCheck/InferTypes.hs
2022-08-12 17:50:56 +03:00
Iavor S. Diatchki
8298ca3c64
Merge pull request #1376 from GaloisInc/ffi
...
Foreign Function Interface
2022-08-12 11:46:47 +03:00
Bretton
d933fa6307
FFI: Improve docs
2022-08-11 19:45:50 -07:00
Bretton
4fd7e175d9
FFI: Add test for runtime errors
2022-08-11 17:23:37 -07:00
Bretton
8a274d08b1
FFI: Don't panic in reference evaluator
...
Bind foreign functions to a Cryptol runtime error instead.
2022-08-11 17:22:10 -07:00
Bretton
9652cf49f4
FFI: Call proveImplication on validSchema in Infer
2022-08-11 17:04:50 -07:00
Henry Blanchette
e08fc8ff0f
only check exhaustive constraint guards if user option is on
2022-08-11 16:53:21 -07:00
Bretton
65ba78802c
FFI: Add test for type errors
2022-08-11 16:28:14 -07:00
Bretton
46cb2f9ebf
Fix rangeWithin comparison
2022-08-11 16:25:16 -07:00
Henry Blanchette
795eb28652
warnings for non-exhaustive constraint guards
2022-08-11 15:35:42 -07:00
Bretton
60a342ad9f
FFI: Improve docs
2022-08-11 14:56:43 -07:00
Henry Blanchette
369ebfbd56
tryProveImplication
2022-08-11 14:20:30 -07:00
Bretton
36fcdb3a93
FFI: Use upstream libffi
2022-08-11 13:35:17 -07:00
Bretton
0bc3bb74c5
FFI: Add docs
2022-08-11 12:26:48 -07:00