Cleanup
This commit is contained in:
@@ -31,11 +31,7 @@ import NewInt
|
||||
import Data.Foldable
|
||||
|
||||
testStringInit :: Universe -> [String]
|
||||
testStringInit u = map show
|
||||
( u ^.. uvWorld . cWorld . lWorld . items . each . itLocation . ilEquipSite)
|
||||
<> ["---"] <> map show
|
||||
( u ^.. uvWorld . cWorld . lWorld . items . each . itID)
|
||||
<> ["---"] <> map show (M.toList $ fold $ u ^? uvWorld . cWorld . lWorld . creatures . ix 0 . crEquipment)
|
||||
testStringInit _ = mempty
|
||||
-- map f (IM.toList $ u ^. uvWorld . cWorld . lWorld . items)
|
||||
-- <> ["---"]
|
||||
-- <> map show (IM.toList . fold $ u ^? uvWorld . cWorld . lWorld . creatures . ix 0 . crInv . unNIntMap)
|
||||
|
||||
Reference in New Issue
Block a user