on master help sign in
change terminal display of BoolAtom to match TutorialD input
commitf07d7cd875cf09dad31bfe1547ca570f95a3bcf0 authorAgentM <agentm@themactionfaction.com> dateFri 2 Oct 2015, 12:53 (11 years ago) parentccfd852
1 file changed+1−1
ProjectM36/Relation/Show/Term.hs+1−1
ProjectM36/Relation/Show/Term.hs+1−1
@@ -95,7 +95,7 @@ showAtom :: Atom -> StringType
9595showAtom (StringAtom atom) = atom
9696showAtom (IntAtom atom) = T.pack $ show atom
9797showAtom (RelationAtom rel) = renderTable $ relationAsTable rel
98−showAtom (BoolAtom bool) = T.pack $ show bool
98+showAtom (BoolAtom bool) = T.pack $ if bool then "t" else "f"
9999showAtom (DateTimeAtom dt) = T.pack $ show dt
100100showAtom (DateAtom d) = T.pack $ show d
101101showAtom (DoubleAtom d) = T.pack $ show d