View Source Euclid.Extra.List (Euclid v0.4.0)

This module is deprecated. Use `Euclid.List` instead.

Link to this section Summary

Functions

compact(list) deprecated
only!(list) deprecated

returns the only item in the list; raises if there are no items or more than 1 item

sorted?(list) deprecated

Link to this section Functions

This function is deprecated. Use `Euclid.List.compact/1` instead.
Link to this function

first(list, default \\ nil)

View Source
This function is deprecated. Use `Euclid.List.first/2` instead.
This function is deprecated. Use `Euclid.List.only!/1` instead.

returns the only item in the list; raises if there are no items or more than 1 item

This function is deprecated. Use `Euclid.List.sorted?/1` instead.