Skip to content

Instantly share code, notes, and snippets.

src/Data/Semigroup/Instances.hs:11:10: error:
Duplicate instance declarations:
instance Measured v a => Semigroup (FingerTree v a)
-- Defined at src/Data/Semigroup/Instances.hs:11:10
instance [safe] Measured v a => Semigroup (FingerTree v a)
-- Defined in ‘Data.FingerTree’
|
11 | instance Measured v a => Semigroup (FingerTree v a) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
New patches:
[Rev #1: Front page.
daniel.carrera@theingots.org**20090413195159] hunk ./Front\32\Page.page 3
-Darcs is a free, open source, source code management system with many
-fabulous features:
+Darcs is a free, open source, version control system (VCS). Darcs stands out
+for its ability to [reorder patches](Patch Reordering) in a repository. This
+gives darcs several valuable features:
#!/bin/bash
shopt -s nullglob
ARCH=$(uname -m)
if [ "$ARCH" != "x86_64" ]; then
echo >&2 "Sorry, need a 64 bit system"
exit 1
fi
"""
Basic interface that all parsers should respect
"""
from abc import ABCMeta, abstractmethod
from six import with_metaclass
class Parser(with_metaclass(ABCMeta, object)):
"""
class LinkPack(namedtuple('LinkPack',
['labels',
'pairings',
'scores_ad',
'scores_l'])):
'''
Collection of candidate links
:param labels: list of labels (same length as the width of
scores_l)
From 45170f44faed22e878ed45d6df99e137a9d1681f Mon Sep 17 00:00:00 2001
From: Eric Kow <eric.kow@gmail.com>
Date: Thu, 19 Feb 2015 11:07:35 +0100
Subject: [PATCH 4/4] FIX join test sentences together to respect RST-DT
convention
---
tests/rst-mononuclear-multisatellite | 4 +---
tests/rst-multinuclear | 4 +---
tests/rst-multinuclear2 | 4 +---
#!/bin/bash
# copy and archive latest reports/scores from the cluster
# filenames are {corpus}-{date}__{machine}__{logword}, eg
#
# scores-TRAINING-2015-02-05__eric-laptop__scikit.txt
# scores-TRAINING-2015-02-07__eric-laptop__ptb-sent.txt
# scores-TRAINING-2015-02-09__cluster__hello.txt
# scores-TRAINING-2015-02-12__cluster__parallel.txt
# scores-TRAINING-2015-02-16__cluster__intra-mst.txt
# pylint: disable=W0105
# pylint: disable=star-args
"""
Paths and settings used for this experimental harness
In the future we may move this to a proper configuration file.
"""
# Author: Eric Kow
# License: CeCILL-B (French BSD3-like)
@kowey
kowey / tmp.py
Last active August 29, 2015 14:15
"sandbox for attelo development"
from __future__ import print_function
from itertools import chain
import codecs
import itertools
import six
from tabulate import tabulate
import numpy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.