Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
project-3-draft [2021/04/25 16:04] roxana_elena.stiuca [Similarities graph, using queries] |
project-3-draft [2021/04/25 16:07] (current) roxana_elena.stiuca prerequisite for taskset3 |
||
---|---|---|---|
Line 34: | Line 34: | ||
**Don't worry about Graph or Filter queries yet.** | **Don't worry about Graph or Filter queries yet.** | ||
- | ====TODO==== | + | ==== Prerequisite ==== |
- | {-# LANGUAGE ExistentialQuantification #-} for "forall a." | + | Add the following lines at the beginning of your .hs files: |
+ | <code haskell> | ||
+ | {-# LANGUAGE ExistentialQuantification #-} | ||
+ | {-# LANGUAGE FlexibleInstances #-} | ||
+ | </code> | ||
+ | |||
+ | The first line allows ''forall a''. | ||
+ | The second allows ''instance FEval String''. | ||
- | {-# LANGUAGE FlexibleInstances#-} for "instance FEval String where" | ||
- | ====TODO==== | ||
- | |||
===== Query Evaluation ===== | ===== Query Evaluation ===== | ||