markRead
This commit is contained in:
parent
28fb6ccc86
commit
99eddc7c55
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ isUnassigned :: String -> [(String,Slice,Bool)] -> Bool
|
|||
isUnassigned s = null . filter (\(t,_,_) -> t == s)
|
||||
|
||||
markRead :: String -> [(String,Slice,Bool)] -> [(String,Slice,Bool)]
|
||||
--markRead s a =
|
||||
markRead s = map (\(v,p,b) -> (v,p,b || v == s))
|
||||
|
||||
enterBlock :: [(String,Slice,Bool)] -> [(String,Slice,Bool)]
|
||||
enterBlock = map (\(v,s,b) -> ('*':v,s,b))
|
||||
|
|
Loading…
Reference in a new issue