curry-frontend-0.4.2: Lexer, parser, type checker, etc. for the Curry language

Copyright(c) 2015 - 2016, Katharina Rahf 2015 - 2016, Björn Peemöller 2015 - 2016, Jan Tikovsky
Safe HaskellNone
LanguageHaskell2010

TokenStream

Description

This module defines a function for writing the list of tokens and spans of a Curry source module into a separate file.

Synopsis

Documentation

showTokenStream :: [(Span, Token)] -> String Source #

Show a list of Span and Token tuples. The list is split into one tuple on each line to increase readability.