@@ -20,13 +20,13 @@ testTree = Node (Node Leaf "Jim" Leaf)
2020 (Node Leaf "Bob" Leaf))
2121
2222treeTagAux : BTree a -> { [STATE Int] } Eff (BTree (Int, a))
23−treeTagAux Leaf = return Leaf
23+treeTagAux Leaf = pure Leaf
2424treeTagAux (Node l x r)
2525 = do l' <- treeTagAux l
2626 i <- get
2727 put (i + 1)
2828 r' <- treeTagAux r
29− return (Node l' (i, x) r')
29+ pure (Node l' (i, x) r')
3030
3131treeTag : (i : Int) -> BTree a -> BTree (Int, a)
3232treeTag i x = runPure (do put i