Skip to content

Commit

Permalink
add TODO linked to #2213
Browse files Browse the repository at this point in the history
  • Loading branch information
byorgey committed Nov 22, 2024
1 parent b109760 commit b4b8984
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/swarm-lang/Swarm/Language/JSON.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ instance ToJSON Syntax
instance ToJSON Value where
toJSON = genericToJSON optionsMinimize

-- TODO (#2213): Craft some appropriate FromJSONE instances for things
-- like Value and Env. Below is an early experiment.

-- instance FromJSONE (CtxMap CtxTree t) Value where
-- parseJSONE = withObjectE "Value" $ \v -> case Ae.toList v of
-- [("VUnit", _)] -> pure VUnit
Expand Down

0 comments on commit b4b8984

Please sign in to comment.