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

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

def notEmpty : String  Bool := not  isEmpty