This commit is contained in:
2025-08-27 11:04:50 +01:00
parent 1ef5534bc2
commit 5880bd8b8c
3 changed files with 32 additions and 32 deletions
+1 -5
View File
@@ -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)