https://github.com/co-log/co-log-core

🌽 Core types and functions that power the Haskell `co-log` implementation

https://github.com/co-log/co-log-core

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • â—‹
    CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • â—‹
    DOI references
  • â—‹
    Academic publication links
  • â—‹
    Academic email domains
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (8.8%) to scientific vocabulary

Keywords

co-log contravariant core hacktoberfest haskell logging
Last synced: 5 months ago · JSON representation

Repository

🌽 Core types and functions that power the Haskell `co-log` implementation

Basic Info
  • Host: GitHub
  • Owner: co-log
  • License: mpl-2.0
  • Language: Haskell
  • Default Branch: main
  • Homepage:
  • Size: 129 KB
Statistics
  • Stars: 18
  • Watchers: 3
  • Forks: 7
  • Open Issues: 5
  • Releases: 8
Topics
co-log contravariant core hacktoberfest haskell logging
Created over 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Codeowners

README.md

co-log-core

Co-logo

GitHub CI Hackage MPL-2.0 license

co-log-core is a lightweight package that provides core types and functions to work with the @LogAction@ data type which is both simple and powerful.

How to use

co-log-core is compatible with the following GHC versions - supported versions

In order to start using co-log-core in your project, you will need to set it up with these steps:

  1. Add the dependency on co-log-core in your project's .cabal file. For this, you should modify the build-depends section according to the below section:

haskell build-depends: base ^>= LATEST_SUPPORTED_BASE , co-log-core ^>= LATEST_VERSION

  1. To use this package, refer to the below example.

```haskell module Main (main) where

import Prelude hiding (log)

import Colog.Core (LogAction, logStringStdout, (<&))

app :: LogAction IO String -> IO () app log = do log <& "Starting app..." log <& "Finishing app..."

main :: IO () main = app logStringStdout ```

Owner

  • Name: Co-Log
  • Login: co-log
  • Kind: organization

Ecosystem around contravariant logging to make it friendlier and more accessible to everyone 🤗

GitHub Events

Total
  • Create event: 5
  • Issues event: 1
  • Release event: 3
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 3
  • Push event: 9
  • Pull request event: 4
  • Fork event: 1
Last Year
  • Create event: 5
  • Issues event: 1
  • Release event: 3
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 3
  • Push event: 9
  • Pull request event: 4
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 12
  • Total pull requests: 31
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 7
  • Total pull request authors: 10
  • Average comments per issue: 0.67
  • Average comments per pull request: 1.0
  • Merged pull requests: 26
  • Bot issues: 0
  • Bot pull requests: 9
Past Year
  • Issues: 1
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: about 7 hours
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • chshersh (5)
  • michaelpj (2)
  • yhuangsh (1)
  • Bodigrim (1)
  • nevrome (1)
  • vrom911 (1)
Pull Request Authors
  • alaendle (11)
  • dependabot[bot] (10)
  • vrom911 (3)
  • chshersh (3)
  • pranaysashank (1)
  • athas (1)
  • Bodigrim (1)
  • Vekhir (1)
  • udaycruise2903 (1)
  • michaelpj (1)
Top Labels
Issue Labels
good first issue (4) documentation (2) enhancement (1) CI (1) test (1)
Pull Request Labels
dependencies (14) CI (13) documentation (3) ghc (2) enhancement (1) refactoring (1)

Dependencies

.github/workflows/ci.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • haskell/actions/setup v2 composite
co-log-core.cabal hackage
  • Glob >=0.10.0 && <0.11 test
  • doctest >=0.16.0 && <0.21 test
.github/workflows/publish.yaml actions
  • actions/checkout v4 composite
  • haskell-actions/hackage-publish v1.1 composite
  • sol/haskell-autotag v1 composite