start on fillInHoles
This commit is contained in:
parent
13d288b245
commit
4e21eee91c
@ -3,7 +3,11 @@ module Instructions.GenericInstructions where
|
|||||||
import Control.Lens
|
import Control.Lens
|
||||||
import State
|
import State
|
||||||
|
|
||||||
-- import Debug.Trace
|
-- import Debug.Trace
|
||||||
|
|
||||||
|
-- Files in the spaces in [[a]] with [a]
|
||||||
|
fillInHoles :: [a] -> [[a]] -> [a]
|
||||||
|
fillInHoles filler toFill = undefined -- TODO
|
||||||
|
|
||||||
notEmptyStack :: State -> Lens' State [a] -> Bool
|
notEmptyStack :: State -> Lens' State [a] -> Bool
|
||||||
notEmptyStack state accessor = not . null $ view accessor state
|
notEmptyStack state accessor = not . null $ view accessor state
|
||||||
|
Loading…
x
Reference in New Issue
Block a user