Sha256: 2d47b1e1e056caa1fa3b29b29f7285d3b8356546e440be88d8af1d8c162e429c

Contents?: true

Size: 538 Bytes

Versions: 396

Compression:

Stored size: 538 Bytes

Contents

## Hints

The Sgf module should export a parseSgf module with the following signature:

```haskell
parseSgf :: Text -> Maybe (Tree (Map Text [Text]))
```

You may find it useful to copy the following definitions for SgfTree
and SgfNode:

```haskell
-- | A tree of nodes.
type SgfTree = Tree SgfNode

-- | A node is a property list, each key can only occur once.
-- Keys may have multiple values associated with them.
type SgfNode = Map Text [Text]
```

The parsec library is part of the Haskell Platform. Please use it to
your advantage.

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/haskell/exercises/sgf-parsing/.meta/hints.md
trackler-2.2.1.97 tracks/haskell/exercises/sgf-parsing/.meta/hints.md
trackler-2.2.1.96 tracks/haskell/exercises/sgf-parsing/.meta/hints.md
trackler-2.2.1.95 tracks/haskell/exercises/sgf-parsing/.meta/hints.md
trackler-2.2.1.94 tracks/haskell/exercises/sgf-parsing/.meta/hints.md
trackler-2.2.1.93 tracks/haskell/exercises/sgf-parsing/.meta/hints.md
trackler-2.2.1.92 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.91 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.90 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.89 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.88 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.87 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.86 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.85 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.84 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.83 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.82 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.81 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.80 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.2.1.79 tracks/haskell/exercises/sgf-parsing/HINTS.md