mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 17:32:11 +03:00
%veer events now use cords instead of tapes?
This commit is contained in:
parent
92bb2e005e
commit
efc6103fc1
@ -270,15 +270,12 @@ tryDoStuff shipPath = runInBoundThread $ do
|
||||
let pillPath = "/home/benjamin/r/urbit/bin/solid.pill"
|
||||
ship = zod
|
||||
|
||||
-- collectAllFx "/home/benjamin/r/urbit/s/testnet-zod/"
|
||||
|
||||
-- tryParseEvents "/home/benjamin/r/urbit/s/zod/.urb/log" 1
|
||||
-- tryParseEvents "/home/benjamin/r/urbit/s/testnet-zod/.urb/log" 1
|
||||
|
||||
-- tryParseFX "/home/benjamin/zod-fx" 1 100000000
|
||||
-- tryParseFX "/home/benjamin/testnet-zod-fx" 1 100000000
|
||||
|
||||
-- tryBootFromPill pillPath shipPath ship
|
||||
-- tryResume shipPath
|
||||
tryPlayShip shipPath
|
||||
-- tryFullReplay shipPath
|
||||
|
@ -262,12 +262,12 @@ data VaneName
|
||||
deriving (Eq, Ord, Show, Enum, Bounded)
|
||||
|
||||
data ZuseEv
|
||||
= ZEVeer () Cord Path BigTape
|
||||
= ZEVeer () Cord Path BigCord
|
||||
| ZEVoid Void
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
data VaneEv
|
||||
= VEVeer (VaneName, ()) Cord Path BigTape
|
||||
= VEVeer (VaneName, ()) Cord Path BigCord
|
||||
| VEVoid Void
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
|
@ -4,7 +4,8 @@ module Noun.Conversions
|
||||
( Nullable(..), Jammed(..), AtomCell(..)
|
||||
, Word128, Word256, Word512
|
||||
, Bytes(..), Octs(..), File(..)
|
||||
, Cord(..), Knot(..), Term(..), Tape(..), BigTape(..), Tour(..)
|
||||
, Cord(..), Knot(..), Term(..), Tape(..), Tour(..)
|
||||
, BigTape(..), BigCord(..)
|
||||
, Wall
|
||||
, UD(..), UV(..)
|
||||
, Mug(..), Path(..), EvilPath(..), Ship(..)
|
||||
@ -344,6 +345,15 @@ instance FromNoun Tape where
|
||||
type Wall = [Tape]
|
||||
|
||||
|
||||
-- Big Cord -- Don't Print -----------------------------------------------------
|
||||
|
||||
newtype BigCord = BigCord Cord
|
||||
deriving newtype (Eq, Ord, ToNoun, FromNoun, IsString)
|
||||
|
||||
instance Show BigCord where
|
||||
show (BigCord (Cord t)) = show (take 32 t <> "...")
|
||||
|
||||
|
||||
-- Big Tape -- Don't Print -----------------------------------------------------
|
||||
|
||||
newtype BigTape = BigTape Tape
|
||||
|
Loading…
Reference in New Issue
Block a user