---
name: "Parse.list"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Parse.list"
---

# Parse.list(3kaya)

Parse a list of items out of a String

## NAME

Parse::list - Parse a list of items out of a String

## SYNOPSIS

**\[a\] list(** *Parser\<a\>  parser, var ParseState st, Int n=0* **)**

## ARGUMENTS

**parser** The parser to use

**st** The current parsing state

**n** The minimum number of items (default 0)

## DESCRIPTION

Parse a string into a list of n or more items. Items are separated by **Parse.whitespace (3kaya)** and an Exception will be thrown if fewer than *n* are found.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Parse.delimList (3kaya)**

**Parse.list1 (3kaya)**
