Commit ab0edd8b authored by Iustin Pop's avatar Iustin Pop
Browse files

Remove an unused function



This is not used, as we need a more complex serialisation, which is
done in the saveObjectField function.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
parent 5dbee5ea
...@@ -146,10 +146,6 @@ loadFn (Field { fieldIsContainer = True }) expr = [| $expr >>= readContainer |] ...@@ -146,10 +146,6 @@ loadFn (Field { fieldIsContainer = True }) expr = [| $expr >>= readContainer |]
loadFn (Field { fieldRead = Just readfn }) expr = [| $expr >>= $readfn |] loadFn (Field { fieldRead = Just readfn }) expr = [| $expr >>= $readfn |]
loadFn _ expr = expr loadFn _ expr = expr
saveFn :: Field -> Q Exp -> Q Exp
saveFn (Field { fieldIsContainer = True }) expr = [| showContainer $expr |]
saveFn (Field { fieldRead = Just readfn }) expr = [| $readfn $expr |]
saveFn _ expr = expr
-- * Common field declarations -- * Common field declarations
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment