mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
king: fix noun derivation
This commit is contained in:
parent
148fb1b45c
commit
8ad9d022a1
@ -127,7 +127,7 @@ data Germ = Germ
|
||||
{ gLife :: Life
|
||||
, gRing :: Ring
|
||||
}
|
||||
deriving (Eq, Show)
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
data Feed
|
||||
= Feed0 Seed
|
||||
@ -273,8 +273,8 @@ deriveNoun ''BoatEv
|
||||
-- Boat Events -----------------------------------------------------------------
|
||||
|
||||
data JaelEv
|
||||
= JaelEvRekey Life Ring
|
||||
deriving (Eq, Ord, Show)
|
||||
= JaelEvRekey () (Life, Ring)
|
||||
deriving (Eq, Show)
|
||||
|
||||
deriveNoun ''JaelEv
|
||||
|
||||
|
@ -104,7 +104,7 @@ genBootSeq ship PillPill {..} lite boot feed = do
|
||||
extraKeys = case feed of
|
||||
Feed0 _ -> []
|
||||
Feed1 Seeds{..} -> fmap rekey gFeed
|
||||
rekey Germ{..} = EvBlip $ BlipEvJael $ JaelEvRekey gLife gRing
|
||||
rekey Germ{..} = EvBlip $ BlipEvJael $ JaelEvRekey () (gLife, gRing)
|
||||
|
||||
|
||||
-- Write to the log. -----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user