Singleton List Syntax Sometimes you want to have a singleton list or an empty list. In Python: [1] * (True) # [1] [1] * (False) # [] In Haskell: [1 | True] -- [1] [1 | False] -- []