Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyday567 committed Dec 20, 2023
1 parent e7219d3 commit b2f6e33
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc-version: ['9.8', '9.6', '9.4', '9.2', '8.10']
ghc-version: ['9.8', '9.6', '9.4', '8.10']
docspec: [false]
experimental: [false]

Expand Down
7 changes: 0 additions & 7 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,3 @@ allow-newer:
string-interpolate:text,
scotty:text,
websockets:text,
websockets:bytestring,
websockets:attoparsec,
box-socket:text,
box-socket:bytestring,
box-socket:optparse-generic,
optparse-generic:text,
optparse-generic:bytestring,
1 change: 0 additions & 1 deletion readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ http://localhost:9160/

#+begin_src haskell :results output :exports both
:r
:set prompt "> "
:set -Wno-type-defaults
:set -Wno-name-shadowing
:set -XOverloadedStrings
Expand Down
1 change: 1 addition & 0 deletions src/Web/Rep/SharedReps.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE QuasiQuotes #-}
{-# OPTIONS_GHC -Wno-name-shadowing #-}
{-# OPTIONS_GHC -Wno-x-partial #-}

Check warning on line 6 in src/Web/Rep/SharedReps.hs

View workflow job for this annotation

GitHub Actions / GHC 9.6 on ubuntu-latest

unrecognised warning flag: -Wno-x-partial

Check warning on line 6 in src/Web/Rep/SharedReps.hs

View workflow job for this annotation

GitHub Actions / GHC 9.4 on ubuntu-latest

unrecognised warning flag: -Wno-x-partial

Check warning on line 6 in src/Web/Rep/SharedReps.hs

View workflow job for this annotation

GitHub Actions / GHC 8.10 on ubuntu-latest

unrecognised warning flag: -Wno-x-partial

Check warning on line 6 in src/Web/Rep/SharedReps.hs

View workflow job for this annotation

GitHub Actions / GHC 9.6 on windows-latest

unrecognised warning flag: -Wno-x-partial

Check warning on line 6 in src/Web/Rep/SharedReps.hs

View workflow job for this annotation

GitHub Actions / GHC 9.6 on macos-latest

unrecognised warning flag: -Wno-x-partial

Check warning on line 6 in src/Web/Rep/SharedReps.hs

View workflow job for this annotation

GitHub Actions / GHC 9.6 on ubuntu-latest

unrecognised warning flag: -Wno-x-partial

-- | Various SharedRep instances for common html input elements.
module Web.Rep.SharedReps
Expand Down
8 changes: 7 additions & 1 deletion src/Web/Rep/Socket.hs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module Web.Rep.Socket
where

import Box
import Box.Socket (serverApp)
import Box.Websocket (serverApp)
import Control.Concurrent.Async
import Control.Monad
import Control.Monad.State.Lazy
Expand Down Expand Up @@ -163,6 +163,12 @@ defaultCodeBoxConfig :: CodeBoxConfig
defaultCodeBoxConfig = CodeBoxConfig defaultSocketConfig defaultSocketPage Single Single

-- | Turn a configuration into a live (Codensity) CodeBox
--
-- FIXME:
-- textarea bug:
-- web-rep-example: uncaught parse error
-- CallStack (from HasCallStack):
-- error, called at src/Web/Rep/Socket.hs:172:25 in wb-rp-0.11.1-c7200511:Web.Rep.Socket
codeBoxWith :: CodeBoxConfig -> CoCodeBox
codeBoxWith cfg =
fromActionWith
Expand Down
12 changes: 7 additions & 5 deletions web-rep.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: web-rep
version: 0.11.0.0
version: 0.11.1.0
license: BSD-3-Clause
license-file: LICENSE
copyright: Tony Day (c) 2015
Expand All @@ -14,8 +14,10 @@ description:
An applicative-based, shared-data representation of a web page.

build-type: Simple
tested-with: GHC == 8.10.7 || ==9.2.8 || ==9.4.7 || ==9.6.3 || ==9.8.1
extra-doc-files: ChangeLog.md
tested-with: GHC == 8.10.7 || ==9.4.7 || ==9.6.3 || ==9.8.1
extra-doc-files:
ChangeLog.md
readme.org

source-repository head
type: git
Expand Down Expand Up @@ -104,15 +106,15 @@ library
, base >=4.7 && <5
, bifunctors >=5.5.11 && <5.7
, box >=0.9 && <0.10
, box-socket >=0.4 && <0.5
, box-socket >=0.5 && <0.6
, bytestring >=0.11.3 && <0.13
, flatparse >=0.3.5 && <0.6
, markup-parse >=0.1.0.1 && <0.2
, mtl >=2.2.2 && <2.4
, optics-core >=0.4 && <0.5
, optics-extra >=0.4 && <0.5
, profunctors >=5.6.2 && <5.7
, scotty >=0.11.5 && <0.21
, scotty >=0.11.5 && <0.22
, string-interpolate >=0.3 && <0.4
, text >=1.2 && <2.2
, transformers >=0.5.6 && <0.6.2
Expand Down

0 comments on commit b2f6e33

Please sign in to comment.