Fix (most) warnings

4-compiler-bug
Bram 2024-05-26 19:24:31 +02:00
parent e335c150f0
commit 9e761db4f9
6 changed files with 6 additions and 10 deletions

View File

@ -1,7 +1,7 @@
module Internal.Api.Chain exposing
( TaskChain, CompleteChain
, IdemChain, toTask
, fail, succeed, andThen, catchWith
, fail, succeed, andThen, catchWith, maybe
)
{-|
@ -27,7 +27,7 @@ avoid leaking values passing through the API in unexpected ways.
## Operations
@docs fail, succeed, andThen, catchWith
@docs fail, succeed, andThen, catchWith, maybe
-}

View File

@ -50,8 +50,6 @@ for interacting with the Matrix API.
import Internal.Config.Text as Text
import Internal.Grammar.UserId as U
import Internal.Tools.Json as Json
import Json.Decode as D
import Json.Encode as E
import Set exposing (Set)

View File

@ -56,7 +56,7 @@ import Internal.Tools.Json as Json
import Internal.Values.Event as Event exposing (Event)
import Internal.Values.StateManager as StateManager exposing (StateManager)
import Internal.Values.Timeline as Timeline exposing (Timeline)
import Internal.Values.User as User exposing (User)
import Internal.Values.User exposing (User)
import Json.Encode as E
@ -255,7 +255,7 @@ update ru room =
AddSync batch ->
addSync batch room
Invite user ->
Invite _ ->
-- TODO: Invite user
room

View File

@ -33,8 +33,6 @@ Rooms are environments where people can have a conversation with each other.
-}
import FastDict as Dict exposing (Dict)
import Internal.Api.Request as Request
import Internal.Config.Log exposing (Log)
import Internal.Config.Text as Text
import Internal.Tools.Hashdict as Hashdict exposing (Hashdict)
import Internal.Tools.Json as Json

View File

@ -2,7 +2,7 @@ module Test.Values.Timeline exposing (..)
import Expect
import Fuzz exposing (Fuzzer)
import Internal.Filter.Timeline as Filter exposing (Filter)
import Internal.Filter.Timeline as Filter
import Internal.Tools.Json as Json
import Internal.Values.Timeline as Timeline exposing (Batch, Timeline)
import Json.Decode as D

View File

@ -1,6 +1,6 @@
module Test.Values.Vault exposing (..)
import FastDict as Dict exposing (Dict)
import FastDict as Dict
import Fuzz exposing (Fuzzer)
import Internal.Tools.Json as Json
import Internal.Values.Vault exposing (Vault)