J7LSWCNFU3UWTUXFHQLIRLW2BHXJA54AT6SR5JY6JK3XABO4ZIXQC
4MNJALK4R5MOGTIRRIIN2PZIZK7XHBMP3GGKSHEV7MQAPHNLNCMAC
5EHCW5VT5CEA2VNAZ6RX6OBKKRKGJEFMT2FFEHV5QQWBX2UW4AOAC
5DMJORVQJOUQAPTJI2MFYJK2JZSQBXR35A3KXJIN5B4U33CWIATQC
CQUB2A3OVJACRIRDLZNAO6XTFJX45ZNUJQU57A3Q4O6L6BT5ULIAC
ZV7PIRTUNQYLWJQWKG73RC2X7MKSUMPGU7HQUW7TIBXB4OSYYDBAC
W65GMUVA7GT5Z5ZD5YIWSMVZK42TBY7CHQ5GQRQQ244ULZ4GF2HQC
7P3WY2CHMA5QFOYGENWGIIYXDIHOUFWIIBACUPQ7KKSOWILGW3HAC
2VCC6DPGXLR6KYEW5NOLKPE6TXWHY5M6B74ZRZBU6IP3LZQDGCXQC
OQ24A5VRN3IFOFFO2TWLF6OOP4I5V2NSUURZXUWEFLURQP4GPP5AC
data NonEmptyList a = NonEmptyList a [a] deriving (Show, Eq, Ord, Functor, Foldable, Traversable)
import Data.Aeson
import GHC.Generics
data NonEmptyList a = NonEmptyList a [a] deriving (Show, Eq, Ord, Functor, Foldable, Traversable, Generic)
instance ToJSON a => ToJSON (NonEmptyList a) where
toEncoding = genericToEncoding defaultOptions