souffle-haskell v2.0.0 Release Notes
Release Date: 2020-08-23 // almost 6 years ago-
➕ Added
- The
Facttypeclass now also requires you to specify theFactDirection. This prevents inconsistent and buggy behavior when trying to use a fact in an invalid way (e.g. trying to add an output-only fact). - DSL for creating Soufflé programs directly from Haskell.
See the docs of
Language.Souffle.Experimentalfor more information.
🔄 Changed
- 👍 souffle-haskell now supports Soufflé version 2.0.1.
getFacts,findFact,addFactandaddFactsnow have stricter constraints in their type signatures to prevent invalid usage of facts.runSoufflefor both compiled and interpreted mode andrunSouffleWithfor interpreted mode have updated type signatures to be able to automatically cleanup temporary files created while interacting with Souffle.
✂ Removed
initfunction for both compiled and interpreted mode. Initialization is now handled by therunSouffle*functions. This change makes automatic cleanup of created files possible and prevents double initialization of Souffle programs.cleanupfunction for interpreted mode, this is handled automatically now.
- The