Try removing %name to fix highlight

This commit is contained in:
Nathan McCarty 2022-12-10 18:17:35 -05:00
parent 85263e08a1
commit dd61600c49
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 0 additions and 4 deletions

View File

@ -5,7 +5,6 @@ import Data.List
import System.File.ReadWrite
data Operation = Noop | Addx Int
%name Operation op
Show Operation where
show Noop = "Noop"
@ -27,7 +26,6 @@ parseOps : String -> Maybe (List Operation)
parseOps str = traverse parseOp (lines str)
data Pixel = On | Off
%name Pixel pixel
Show Pixel where
show On = "#"
@ -39,7 +37,6 @@ record State where
xRegister : Int
waitCycles : Nat
waitingOp : Maybe Operation
%name State state
Show State where
show (MkState cycle xRegister waitCycles waitingOp) =
@ -85,7 +82,6 @@ tickMultiple state ops@(x :: xs) =
data CRT : Type where
MkCrt : Vect 6 (Vect 40 Pixel) -> CRT
%name CRT crt
Show CRT where
show (MkCrt xs) =