mirror of
https://github.com/zap-proto/haskell.git
synced 2026-10-30 15:05:00 +00:00
This will be more handy, and it also makes sure they actually build (provided we remember to sync them -- it would be good to automate that). This caught the regressions fixed in the previous two commits.
12 lines
264 B
Haskell
12 lines
264 B
Haskell
{-# LANGUAGE DuplicateRecordFields #-}
|
|
module Examples.Serialization.HighLevel.Read (main) where
|
|
|
|
import Capnp.Gen.Addressbook.Pure
|
|
|
|
import Capnp (defaultLimit, getValue)
|
|
|
|
main :: IO ()
|
|
main = do
|
|
value <- getValue defaultLimit
|
|
print (value :: AddressBook)
|