Why Download Tutorial Reference

Lists

conc

Packagebios
Source filebios._util.mcy
NatureFunction
Typefun list a1 list a1 -> list a1

Usage

conc

Type
list a1 A list
list a1 Another list with the same type
list a1 The concatenation of list and list , in this order

Description

This function returns the concatenation of two lists of the same type. It doesn't affect the initial lists.

> conc 1:2:3:nil 4:5:nil 
-> list Int: 
   Int: 1 (0x1) 
   Int: 2 (0x2) 
   Int: 3 (0x3) 
   Int: 4 (0x4) 
   Int: 5 (0x5) 

On the same topic