packages feed

haxl 2.5.1.0 → 2.5.1.1

raw patch · 50 files changed

+370/−240 lines, 50 filesdep ~aesondep ~bytestringdep ~containerssetup-changed

Dependency ranges changed: aeson, bytestring, containers, filepath, hashable, text, time, vector

Files

Haxl/Core.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  -- | Everything needed to define data sources and to invoke the -- engine.
Haxl/Core/CallGraph.hs view
@@ -1,4 +1,11 @@--- Copyright 2004-present Facebook. All Rights Reserved.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}+ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE CPP #-} 
Haxl/Core/DataCache.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE RankNTypes #-}
Haxl/Core/DataSource.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE ExistentialQuantification #-}
Haxl/Core/Exception.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE CPP #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}
Haxl/Core/Fetch.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE CPP #-} {-# LANGUAGE ConstraintKinds #-}
Haxl/Core/Flags.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE BangPatterns #-} 
Haxl/Core/Memo.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE BangPatterns #-} {-# LANGUAGE DeriveDataTypeable #-}
Haxl/Core/Monad.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {- TODO 
Haxl/Core/Parallel.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE CPP #-} {-# LANGUAGE BangPatterns #-}
Haxl/Core/Profile.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE BangPatterns #-} {-# LANGUAGE CPP #-}
Haxl/Core/RequestStore.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE RankNTypes #-}
Haxl/Core/Run.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE BangPatterns #-} {-# LANGUAGE RankNTypes #-}
Haxl/Core/ShowP.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  -- | -- Most users should import "Haxl.Core" instead of importing this
Haxl/Core/StateStore.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE RankNTypes #-}
Haxl/Core/Stats.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-}
Haxl/Core/Util.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  -- | Internal utilities only. --
Haxl/DataSource/ConcurrentIO.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE FlexibleContexts #-}
Haxl/Prelude.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-}
Setup.hs view
@@ -1,2 +1,11 @@+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}++module Setup where import Distribution.Simple main = defaultMain
changelog.md view
@@ -1,3 +1,6 @@+# Changes in version 2.5.1.1+  * Bump dependencies; builds up to GHC 9.10+ # Changes in version 2.5.1.0   * Add schedulerHintState method to DataSource 
haxl.cabal view
@@ -1,5 +1,5 @@ name:                haxl-version:             2.5.1.0+version:             2.5.1.1 synopsis:            A Haskell library for efficient, concurrent,                      and concise data access. homepage:            https://github.com/facebook/Haxl@@ -14,12 +14,16 @@ stability:           alpha cabal-version:       >= 1.10 tested-with:-  GHC==8.4.4,-  GHC==8.6.5,-  GHC==8.8.4,+  GHC==8.4.4+  GHC==8.6.5+  GHC==8.8.4   GHC==8.10.7-  GHC==9.0.1-  GHC==9.2.2+  GHC==9.0.2+  GHC==9.2.8+  GHC==9.4.8+  GHC==9.6.6+  GHC==9.8.2+  GHC==9.10.1  description:   Haxl is a library and EDSL for efficient scheduling of concurrent data@@ -44,25 +48,25 @@ library    build-depends:-    aeson >= 0.6 && < 2.1,+    aeson >= 0.6 && < 2.3,     base >= 4.10 && < 5,     binary >= 0.7 && < 0.10,-    bytestring >= 0.9 && < 0.12,-    containers >= 0.5 && < 0.7,+    bytestring >= 0.9 && < 0.13,+    containers >= 0.5 && < 0.8,     deepseq,     exceptions >=0.8 && <0.11,-    filepath >= 1.3 && < 1.5,+    filepath >= 1.3 && < 1.6,     ghc-prim,-    hashable >= 1.2 && < 1.5,+    hashable >= 1.2 && < 1.6,     hashtables >= 1.2.3.1,     pretty == 1.1.*,     -- text 1.2.1.0 required for instance Binary Text-    text >= 1.2.1.0 && < 1.3,-    time >= 1.4 && < 1.12,+    text >= 1.2.1.0 && < 1.3 || >= 2 && < 2.2,+    time >= 1.4 && < 1.13,     stm >= 2.4 && < 2.6,     transformers,     unordered-containers == 0.2.*,-    vector >= 0.10 && <0.13+    vector >= 0.10 && <0.14    exposed-modules:     Haxl.Core,@@ -88,6 +92,8 @@     Haxl.Core.Util    default-language: Haskell2010+  default-extensions:+    TypeOperators    ghc-options:     -O2 -fprof-auto@@ -156,6 +162,8 @@     exitcode-stdio-1.0    default-language: Haskell2010+  default-extensions:+    TypeOperators  flag bench   default: False@@ -165,6 +173,8 @@     buildable: False   default-language:     Haskell2010+  default-extensions:+    TypeOperators   hs-source-dirs:     tests   build-depends:@@ -185,6 +195,8 @@     buildable: False   default-language:     Haskell2010+  default-extensions:+    TypeOperators   hs-source-dirs:     tests   build-depends:
tests/AdoTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE RebindableSyntax, OverloadedStrings, ApplicativeDo #-} module AdoTests (tests) where
tests/AllTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} module AllTests (allTests) where
tests/BadDataSource.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADTs #-}
tests/BatchTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE RebindableSyntax, OverloadedStrings #-} module BatchTests (tests) where
tests/Bench.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE RankNTypes, GADTs, BangPatterns, DeriveDataTypeable,     StandaloneDeriving #-}
tests/CoreTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternGuards #-}
tests/DataCacheTest.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE StandaloneDeriving, GADTs, DeriveDataTypeable #-} {-# LANGUAGE FlexibleInstances #-}
tests/DataSourceDispatchTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE StandaloneDeriving #-}
tests/ExampleDataSource.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADTs #-}
tests/ExceptionStackTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-}
tests/FullyAsyncTest.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  module FullyAsyncTest where 
tests/LoadCache.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE CPP, OverloadedStrings #-} module LoadCache where
tests/MemoizationTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  module MemoizationTests (tests) where 
tests/MockTAO.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADTs #-}
tests/MonadAsyncTest.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-}
tests/MonadBench.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  -- | Benchmarking tool for core performance characteristics of the Haxl monad. {-# LANGUAGE OverloadedStrings #-}
tests/OutgoneFetchesTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ApplicativeDo #-}
tests/ParallelTests.hs view
@@ -1,3 +1,11 @@+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}+ module ParallelTests where  import Haxl.Prelude
tests/ProfileTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-}
tests/SleepDataSource.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADTs #-}
tests/StatsTests.hs view
@@ -1,12 +1,15 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved. +  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}+ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE ScopedTypeVariables #-}+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}  module StatsTests (tests) where 
tests/TestBadDataSource.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} module TestBadDataSource (tests) where
tests/TestExampleDataSource.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE CPP, OverloadedStrings, RebindableSyntax, MultiWayIf #-} {-# LANGUAGE RecordWildCards #-}
tests/TestMain.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE CPP, OverloadedStrings #-} module Main where
tests/TestTypes.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}
tests/TestUtils.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE CPP #-}
tests/WorkDataSource.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADTs #-}
tests/WriteTests.hs view
@@ -1,8 +1,10 @@--- Copyright (c) 2014-present, Facebook, Inc.--- All rights reserved.------ This source code is distributed under the terms of a BSD license,--- found in the LICENSE file.+{-+  Copyright (c) Meta Platforms, Inc. and affiliates.+  All rights reserved.++  This source code is licensed under the BSD-style license found in the+  LICENSE file in the root directory of this source tree.+-}  {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-}