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

Irc.Types

elm-irc library, types and definitions

type alias Config = { proxy : String, server : String, user : User }

Server configuration: nickname, username, fullname

type alias User = { nick : String, username : String, fullname : String }

User record: nickname, username, fullname

type Message = Unknown String | Ping String | Notice String | Query { from : User, to : String, text : String } | Message { from : User, channel : String, text : String } | Registered | Joined { who : User, channel : String } | Parted { who : User, channel : String, reason : Maybe String } | Topic { who : User, channel : String, text : Maybe String } | Nick { who : User, nick : String } | Kicked { who : User, whom: String, channel : String, reason : Maybe String }

IRC message type

module Irc.Types exposing (..) --where

{-| elm-irc library, types and definitions
@docs Config, User, Message
-}

{-| Server configuration: nickname, username, fullname -}
type alias Config
  = {
    proxy : String,
    server : String,
    user : User
  }

{-| User record: nickname, username, fullname -}
type alias User
  = {
    nick : String,
    username : String,
    fullname : String
  }

{-| IRC message type -}
type Message
  = Unknown String
  | Ping String
  | Notice String
  | Query {
      from : User,
      to : String,
      text : String
    }
  | Message {
      from : User,
      channel : String,
      text : String
    }
  | Registered
  | Joined {
      who : User,
      channel : String
    }
  | Parted {
      who : User,
      channel : String,
      reason : Maybe String
    }
  | Topic {
      who : User,
      channel : String,
      text : Maybe String
    }
  | Nick {
      who : User,
      nick : String
    }
  | Kicked {
      who : User,
      whom: String,
      channel : String,
      reason : Maybe String
    }