summaryrefslogtreecommitdiffhomepage
path: root/UI.hs
blob: 0ce87db7924371e49b4ebaa75840bac9771ca64f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{- Copyright 2016 Joey Hess <id@joeyh.name>
 -
 - Licensed under the GNU AGPL version 3 or higher.
 -}

module UI where

import Types.UI
import Control.Monad
import UI.Zenity
import UI.Readline

availableUI :: IO [UI]
availableUI = filterM isAvailable [zenityUI, readlineUI]