Ticket #5854: dph-th-inlinable.patch

File dph-th-inlinable.patch, 882 bytes (added by mikhail.vorozhtsov, 2 years ago)

Patch for the DPH library

  • dph-lifted-copy/Data/Array/Parallel/Lifted/TH/Repr.hs

    From 8a5b6dd13f9c4a23666e273d6233199159160658 Mon Sep 17 00:00:00 2001
    From: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
    Date: Tue, 7 Feb 2012 21:48:18 +0700
    Subject: [PATCH] Use the new version of TH InlineSpec.
    
    ---
     .../Data/Array/Parallel/Lifted/TH/Repr.hs          |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/dph-lifted-copy/Data/Array/Parallel/Lifted/TH/Repr.hs b/dph-lifted-copy/Data/Array/Parallel/Lifted/TH/Repr.hs
    index 86fba09..bc97ad2 100644
    a b simpleFunD name pats xx 
    4646 
    4747 
    4848inlineD :: Name -> DecQ 
    49 inlineD name = pragInlD name (inlineSpecNoPhase True False) 
     49inlineD name = pragInlD name (inlineSpecNoPhase Inline False) 
    5050 
    5151 
    5252instance_PData :: TypeQ -> [Name] -> Name -> [TypeQ] -> DecQ