Added a line to ShowCode for dereferenced variables
This commit is contained in:
parent
969c04d42b
commit
e66ce1f810
|
@ -344,6 +344,7 @@ instance ShowOccam A.Variable where
|
|||
showOccamM (A.DirectedVariable _ A.DirUnknown v) = showOccamM v
|
||||
showOccamM (A.DirectedVariable _ A.DirInput v) = showOccamM v >> tell ["?"]
|
||||
showOccamM (A.DirectedVariable _ A.DirOutput v) = showOccamM v >> tell ["!"]
|
||||
showOccamM (A.DerefVariable _ v) = tell ["DEREF "] >> showOccamM v
|
||||
|
||||
instance ShowRain A.Variable where
|
||||
showRainM (A.Variable _ n) = showName n
|
||||
|
|
Loading…
Reference in New Issue
Block a user