<commit_before>require 'formula'

class Ghc < Formula
  homepage 'http://haskell.org/ghc/'
  url 'http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-src.tar.bz2'
  sha1 '8938e1ef08b37a4caa071fa169e79a3001d065ff'

  # NOTE: no Mt. Lion bottle because it was configured to use /usr/bin/gcc,
  #       which is actually clang on Xcode 5
  bottle do
    sha1 '64a7548eb2135a4b5f2276e59f435a39c2d2961f' => :lion
    sha1 '166bf3c8a512b58da4119b2997a1f45c1f7c65b5' => :snow_leopard
  end

  env :std

  # http://hackage.haskell.org/trac/ghc/ticket/6009
  depends_on :macos => :snow_leopard
<commit_msg>ghc: depend on apple-gcc42 on >=10.8.<commit_after>require 'formula'

class Ghc < Formula
  homepage 'http://haskell.org/ghc/'
  url 'http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-src.tar.bz2'
  sha1 '8938e1ef08b37a4caa071fa169e79a3001d065ff'

  # NOTE: no Mt. Lion bottle because it was configured to use /usr/bin/gcc,
  #       which is actually clang on Xcode 5
  bottle do
    sha1 '64a7548eb2135a4b5f2276e59f435a39c2d2961f' => :lion
    sha1 '166bf3c8a512b58da4119b2997a1f45c1f7c65b5' => :snow_leopard
  end

  env :std

  # http://hackage.haskell.org/trac/ghc/ticket/6009
  depends_on :macos => :snow_leopard

  depends_on 'apple-gcc42' if MacOS.version >= :mountain_lion

{'fraction_non_alphanumeric': 0.11704634721131187, 'fraction_numerical': 0.15318146111547526, 'mean_word_length': 3.789473684210526, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1642015', 'n_tokens_mistral': 683, 'n_tokens_neox': 572, 'n_words': 100}