This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
README

Void

This library provides the Void type which has no values. This could be useful when you have a simple component that does not have to send messages for example.

Definition

type Void = Void Void

The empty type with no values. |

absurd : Void -> a

Since we can never construct a value of Void type, we can immediately refute the argument and return any result we want. |

module Void exposing
  ( Void
  , absurd
  )

{-| This library provides the `Void` type which has no values. This could be
useful when you have a simple component that does not have to send messages
for example.

# Definition
@docs Void
@docs absurd

-}


{-| The empty type with no values. |-}
type Void
  = Void Void


{-| Since we can never construct a value of `Void` type, we can immediately
refute the argument and return any result we want.
|-}
absurd : Void -> a
absurd (Void v) =
  absurd v