Copyright | Copyright (C) 2023 Yoo Chung |
---|---|
License | GPL-3.0-or-later |
Maintainer | dev@chungyc.org |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Some solutions to Problems.P96 of Ninety-Nine Haskell Problems.
Synopsis
- isIdentifier :: String -> Bool
Documentation
isIdentifier :: String -> Bool Source #
Identifiers in the Ada programming language have the syntax described by the diagram below.
Write a function which checks whether a given string is a legal identifier.