jupyter-0.9.0: A library for creating and using Jupyter kernels.

Copyright(c) Andrew Gibiansky, 2016
LicenseMIT
Maintainerandrew.gibiansky@gmail.com
Stabilitystable
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Jupyter.UUID

Contents

Description

Generate, parse, and pretty print UUIDs for use with Jupyter.

UUIDs are stored internally as just strings, rather than parsed UUIDs, because Jupyter cares about things like dashes and capitalization -- if they are not identical to the ones Jupyter send, Jupyter will not recognize them. Thus, we treat them as strings rather than UUIDs to be parsed to avoid modifying them in any way.

Synopsis

UUID data type and conversions

data UUID Source

A UUID (universally unique identifier).

uuidToString :: UUID -> String Source

Convert a UUID to a String for transmission or display.

Generating UUIDs

random :: IO UUID Source

Generate a single random UUID.

randoms Source

Arguments

:: Int

Number of UUIDs to generate.

-> IO [UUID] 

Generate a list of random UUIDs.