<commit_before>require "language/haskell"

class DhallJson < Formula
  include Language::Haskell::Cabal

  desc "Dhall to JSON compiler and a Dhall to YAML compiler"
  homepage "https://github.com/Gabriel439/Haskell-Dhall-JSON-Library"
  url "https://hackage.haskell.org/package/dhall-json-1.0.5/dhall-json-1.0.5.tar.gz"
  sha256 "68124c6a22b4070386d127af43209ad10f38e54a74fae188157d102da03ac501"
  head "https://github.com/Gabriel439/Haskell-Dhall-JSON-Library.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "697b6d1e15331009b0335a8cec67d966e4b95efd45ce922a19c9f1a050f6a91d" => :sierra
    sha256 "6d486562f91fa4840e723f5a206377c47a4bec16e4145316ca825017af541065" => :el_capitan
    sha256 "ea558afbe5d480f509251d17af204cf708909a488bcdf05cccd70f55b1ccc360" => :yosemite
  end

  depends_on "ghc" => :build
  depends_on "cabal-install" => :build

  def install<commit_msg>dhall-json: update 1.0.5 bottle.<commit_after>require "language/haskell"

class DhallJson < Formula
  include Language::Haskell::Cabal

  desc "Dhall to JSON compiler and a Dhall to YAML compiler"
  homepage "https://github.com/Gabriel439/Haskell-Dhall-JSON-Library"
  url "https://hackage.haskell.org/package/dhall-json-1.0.5/dhall-json-1.0.5.tar.gz"
  sha256 "68124c6a22b4070386d127af43209ad10f38e54a74fae188157d102da03ac501"
  head "https://github.com/Gabriel439/Haskell-Dhall-JSON-Library.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "7e9f6d597896a5eaf633cf3a5e809bf070792fbec8794f1b3479e58c78424142" => :sierra
    sha256 "b6d99dae96d02ec2dd7f64eb0a98bcbe70328e1abe6896eb586b8853c84f9816" => :el_capitan
    sha256 "8785b0f6e7c4157022799c2adfc442eb0c489a4e597d20ebfc2ed8a3a339104e" => :yosemite
  end

  depends_on "ghc" => :build
  depends_on "cabal-install" => :build

  def install
{'fraction_non_alphanumeric': 0.0977107761027359, 'fraction_numerical': 0.21552205471803462, 'mean_word_length': 5.588235294117647, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7351550', 'n_tokens_mistral': 996, 'n_tokens_neox': 779, 'n_words': 98}