Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Informatik 8
CoPaR
Commits
0a1af671
Commit
0a1af671
authored
Dec 12, 2018
by
Hans-Peter Deifel
Browse files
howto: Adapt to new RefinementInterface
parent
2cd1a912
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/HOWTO_IMPLEMENT_A_FUNCTOR.org
View file @
0a1af671
...
...
@@ -102,7 +102,7 @@ type family Weight (f :: * -> *) :: *
type family F1 (f :: * -> *) :: *
type family F3 (f :: * -> *) :: *
class (Ord (F1 f), Ord (F3 f)) => RefinementInterface
(f :: * -> *)
where
class (Ord (F1 f), Ord (F3 f)) => RefinementInterface
f
where
init :: F1 f -> [Label f] -> Weight f
update :: [Label f] -> Weight f -> (Weight f, F3 f, Weight f)
#+END_SRC
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment