summaryrefslogtreecommitdiff
path: root/Common/String.lean
blob: 955affe9c361d78fad5fb319782b78a344e4cee4 (plain) (blame)
1
2
3
4
5
6
namespace String

def splitTrim (c : Char  Bool) (s : String) : List String :=
  String.trim <$> s.splitToList c

def notEmpty : String  Bool := not  isEmpty