46RN2SQLFV5QN52CEGRSYYT2XGSO54L2S3RILAJRMTABQ5OFSMNAC
C3BUGSBWBKOXFFB6TIHDLQVFV65OKKW6KEUVMP4O2XP3RYMPJ5QAC
SNYOEZI7JMTLJNLM2YTAHBPJEKK2BJZJDOHRIX5676JCF2VNET3QC
newtype NonEmptyText = NonEmptyText {runText :: (Refined NonEmpty Text)}
newtype NonEmptyText = NonEmptyText {runText :: Refined NonEmpty Text}
newtype PositiveNumber = PositiveNumber {runNumber :: (Refined Positive Natural)}
newtype PositiveNumber = PositiveNumber {runNumber :: Refined Positive Natural}
parseField s = (refineFail . decodeUtf8Lenient $ s) >>= return . NonEmptyText
parseField s = NonEmptyText <$> (refineFail . decodeUtf8Lenient $ s)
(\x -> refineFail x >>= return . PositiveNumber) (fromIntegral . fst <$> BS.readInt s)
(\x -> refineFail x >>= return . PositiveNumber)
(fromIntegral . fst <$> BS.readInt s)
((fmap PositiveNumber . refineFail) . fromIntegral . fst) (BS.readInt s)
((fmap PositiveNumber . refineFail) . fromIntegral . fst)
(BS.readInt s)