Simplify MetaTrees
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ toLabel i rm
|
||||
| otherwise = Nothing
|
||||
|
||||
rToOnward :: Monad m => String -> Tree Room -> m (MetaTree Room)
|
||||
rToOnward s t = return $ MTree s (tToBTree t) []
|
||||
rToOnward s t = return $ tToBTree t & mtLabel .~ s
|
||||
|
||||
cleatOnward :: Room -> Room
|
||||
cleatOnward = rmClusterStatus . csLinks .~ S.singleton OnwardCluster
|
||||
|
||||
Reference in New Issue
Block a user