1 use crate::server::haskell::HaskellValue::Boolean; |
1 use crate::server::haskell::HaskellValue::Boolean; |
|
2 use nom::multi::many0; |
2 use nom::{ |
3 use nom::{ |
3 branch::alt, |
4 branch::alt, |
4 bytes::complete::{escaped_transform, is_not, tag, take_while, take_while1}, |
5 bytes::complete::{escaped_transform, is_not, tag, take_while, take_while1}, |
5 character::{is_alphanumeric, is_digit, is_space}, |
6 character::{is_alphanumeric, is_digit, is_space}, |
6 combinator::{map, map_res}, |
7 combinator::{map, map_res}, |
7 multi::separated_list, |
8 multi::separated_list, |
8 sequence::{delimited, pair, preceded, separated_pair}, |
9 sequence::{delimited, pair, preceded, separated_pair, terminated}, |
9 ExtendInto, IResult, |
10 ExtendInto, IResult, |
10 }; |
11 }; |
11 use std::{ |
12 use std::{ |
12 collections::HashMap, |
13 collections::HashMap, |
13 fmt::{Display, Error, Formatter}, |
14 fmt::{Display, Error, Formatter}, |