Questions tagged [alex]

A lexical analyser generator for Haskell

Alex is a tool for generating lexical analysers in Haskell, given a description of the tokens to be recognised in the form of regular expressions. It is similar to the tool lex or flex for C/C++. Haskell is a standardized, general-purpose purely functional programming language, with non-strict semantics and strong static typing.

Note: Alex is part of the Haskell Platform, thus when you install the platform you will automatically have a working Alex. The Haskell Platform is a single, standard Haskell development environment for everyone. It offers a set of blessed libraries and tools, to save you the task of picking and choosing which core Haskell libraries to use.

61 questions
-6
votes
0 answers

Alex and his Array

Can someone give solution to this? I tried but somehow unable to get correct answer Meet Alex, a bright student who is dealing with an array challenge today. He has been given an array a1, a2, ..., aN of length N. The intriguing aspect of this…
1 2 3 4
5