Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions q6.tex
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
Elem x (y ': xs) = Elem x xs

type family Accepts
(q :: Q) (fs :: [Q]) (w :: [E]) :: Bool where
(q :: State) (fs :: [State]) (w :: [Symbol]) :: Bool where
Accepts q fs w = Elem (DeltaHat q w) fs
\end{minted}
\end{solution}
Expand All @@ -122,8 +122,8 @@
\begin{solution}
\emph{Application.}
\begin{minted}{haskell}
class ReifySymbol (q :: E) where
reifySymbol :: SProxy q -> E
class ReifySymbol (q :: Symbol) where
reifySymbol :: SProxy q -> Symbol

instance ReifySymbol ZERO where
reifySymbol _ = ZERO
Expand Down