diff --git a/Haxl/Core.hs b/Haxl/Core.hs index 35e2c62..c7fb1a9 100644 --- a/Haxl/Core.hs +++ b/Haxl/Core.hs @@ -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. diff --git a/Haxl/Core/CallGraph.hs b/Haxl/Core/CallGraph.hs index 4992df5..523f87d 100644 --- a/Haxl/Core/CallGraph.hs +++ b/Haxl/Core/CallGraph.hs @@ -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 #-} diff --git a/Haxl/Core/DataCache.hs b/Haxl/Core/DataCache.hs index 99970ab..63706dc 100644 --- a/Haxl/Core/DataCache.hs +++ b/Haxl/Core/DataCache.hs @@ -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 #-} diff --git a/Haxl/Core/DataSource.hs b/Haxl/Core/DataSource.hs index fa09089..d322b11 100644 --- a/Haxl/Core/DataSource.hs +++ b/Haxl/Core/DataSource.hs @@ -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 #-} diff --git a/Haxl/Core/Exception.hs b/Haxl/Core/Exception.hs index ca8640c..c0d485e 100644 --- a/Haxl/Core/Exception.hs +++ b/Haxl/Core/Exception.hs @@ -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 #-} diff --git a/Haxl/Core/Fetch.hs b/Haxl/Core/Fetch.hs index 11101a7..3e15b9e 100644 --- a/Haxl/Core/Fetch.hs +++ b/Haxl/Core/Fetch.hs @@ -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 #-} diff --git a/Haxl/Core/Flags.hs b/Haxl/Core/Flags.hs index 8295ffb..861c65b 100644 --- a/Haxl/Core/Flags.hs +++ b/Haxl/Core/Flags.hs @@ -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 #-} diff --git a/Haxl/Core/Memo.hs b/Haxl/Core/Memo.hs index 743bb0d..1d1fdeb 100644 --- a/Haxl/Core/Memo.hs +++ b/Haxl/Core/Memo.hs @@ -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 #-} diff --git a/Haxl/Core/Monad.hs b/Haxl/Core/Monad.hs index fe9b957..97e3c5c 100644 --- a/Haxl/Core/Monad.hs +++ b/Haxl/Core/Monad.hs @@ -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 diff --git a/Haxl/Core/Parallel.hs b/Haxl/Core/Parallel.hs index 9baf18b..120b300 100644 --- a/Haxl/Core/Parallel.hs +++ b/Haxl/Core/Parallel.hs @@ -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 #-} diff --git a/Haxl/Core/Profile.hs b/Haxl/Core/Profile.hs index 9b1f446..f86936e 100644 --- a/Haxl/Core/Profile.hs +++ b/Haxl/Core/Profile.hs @@ -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 #-} diff --git a/Haxl/Core/RequestStore.hs b/Haxl/Core/RequestStore.hs index 19b2cf2..65a2455 100644 --- a/Haxl/Core/RequestStore.hs +++ b/Haxl/Core/RequestStore.hs @@ -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 #-} diff --git a/Haxl/Core/Run.hs b/Haxl/Core/Run.hs index 99d8b1f..ae83008 100644 --- a/Haxl/Core/Run.hs +++ b/Haxl/Core/Run.hs @@ -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 #-} diff --git a/Haxl/Core/ShowP.hs b/Haxl/Core/ShowP.hs index 3a32859..83a306b 100644 --- a/Haxl/Core/ShowP.hs +++ b/Haxl/Core/ShowP.hs @@ -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 diff --git a/Haxl/Core/StateStore.hs b/Haxl/Core/StateStore.hs index a05109b..2f3469a 100644 --- a/Haxl/Core/StateStore.hs +++ b/Haxl/Core/StateStore.hs @@ -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 #-} diff --git a/Haxl/Core/Stats.hs b/Haxl/Core/Stats.hs index 28a7ef8..89a0203 100644 --- a/Haxl/Core/Stats.hs +++ b/Haxl/Core/Stats.hs @@ -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 #-} diff --git a/Haxl/Core/Util.hs b/Haxl/Core/Util.hs index 552baf9..58fafc5 100644 --- a/Haxl/Core/Util.hs +++ b/Haxl/Core/Util.hs @@ -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. -- diff --git a/Haxl/DataSource/ConcurrentIO.hs b/Haxl/DataSource/ConcurrentIO.hs index 6b1c2a5..b0c1988 100644 --- a/Haxl/DataSource/ConcurrentIO.hs +++ b/Haxl/DataSource/ConcurrentIO.hs @@ -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 #-} diff --git a/Haxl/Prelude.hs b/Haxl/Prelude.hs index 315089e..5c4312e 100644 --- a/Haxl/Prelude.hs +++ b/Haxl/Prelude.hs @@ -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 #-} diff --git a/Setup.hs b/Setup.hs index 9a994af..e215cfb 100644 --- a/Setup.hs +++ b/Setup.hs @@ -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 diff --git a/example/facebook/FB.hs b/example/facebook/FB.hs index 86bc90a..26c67e8 100644 --- a/example/facebook/FB.hs +++ b/example/facebook/FB.hs @@ -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 FB ( getObject , getUser diff --git a/example/facebook/FB/DataSource.hs b/example/facebook/FB/DataSource.hs index 923a3c6..cb2724a 100644 --- a/example/facebook/FB/DataSource.hs +++ b/example/facebook/FB/DataSource.hs @@ -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. +-} + {-# LANGUAGE OverloadedStrings, StandaloneDeriving, RecordWildCards, GADTs, TypeFamilies, MultiParamTypeClasses, DeriveDataTypeable, FlexibleInstances #-} diff --git a/example/facebook/Setup.hs b/example/facebook/Setup.hs index 9a994af..e215cfb 100644 --- a/example/facebook/Setup.hs +++ b/example/facebook/Setup.hs @@ -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 diff --git a/example/facebook/TestFB.hs b/example/facebook/TestFB.hs index 98e49e3..cbee449 100644 --- a/example/facebook/TestFB.hs +++ b/example/facebook/TestFB.hs @@ -1,5 +1,13 @@ +{- + 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 Main (main) where +module TestFB (main) where import Control.Exception as E import Data.Aeson diff --git a/example/sql/Main.hs b/example/sql/Main.hs index fe7964f..8879244 100644 --- a/example/sql/Main.hs +++ b/example/sql/Main.hs @@ -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. +-} + -- Necessary: {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADTs #-} diff --git a/example/sql/Setup.hs b/example/sql/Setup.hs index 9a994af..e215cfb 100644 --- a/example/sql/Setup.hs +++ b/example/sql/Setup.hs @@ -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 diff --git a/example/sql/haxl-example.cabal b/example/sql/haxl-example.cabal index a11aa5c..f1c929a 100644 --- a/example/sql/haxl-example.cabal +++ b/example/sql/haxl-example.cabal @@ -1,6 +1,10 @@ cabal-version: >=1.8 name: haxl-example version: 0.1.0.0 +license: BSD3 +license-file: LICENSE +author: Facebook, Inc. +copyright: Copyright (c) 2014-present, Facebook, Inc. executable example main-is: Main.hs @@ -9,4 +13,4 @@ executable example haxl, text, random, - base \ No newline at end of file + base diff --git a/tests/AdoTests.hs b/tests/AdoTests.hs index bf063cc..feb1376 100644 --- a/tests/AdoTests.hs +++ b/tests/AdoTests.hs @@ -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 diff --git a/tests/AllTests.hs b/tests/AllTests.hs index aef8028..1a95157 100644 --- a/tests/AllTests.hs +++ b/tests/AllTests.hs @@ -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 diff --git a/tests/BadDataSource.hs b/tests/BadDataSource.hs index 6368428..3e62da5 100644 --- a/tests/BadDataSource.hs +++ b/tests/BadDataSource.hs @@ -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 #-} diff --git a/tests/BatchTests.hs b/tests/BatchTests.hs index 4d1fe42..7d86e89 100644 --- a/tests/BatchTests.hs +++ b/tests/BatchTests.hs @@ -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 diff --git a/tests/Bench.hs b/tests/Bench.hs index c80f467..5613124 100644 --- a/tests/Bench.hs +++ b/tests/Bench.hs @@ -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 #-} diff --git a/tests/CoreTests.hs b/tests/CoreTests.hs index 3df3258..7876e1e 100644 --- a/tests/CoreTests.hs +++ b/tests/CoreTests.hs @@ -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 #-} diff --git a/tests/DataCacheTest.hs b/tests/DataCacheTest.hs index 6b4d8fb..65b7c4c 100644 --- a/tests/DataCacheTest.hs +++ b/tests/DataCacheTest.hs @@ -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 #-} diff --git a/tests/DataSourceDispatchTests.hs b/tests/DataSourceDispatchTests.hs index 52e61d0..69f62e6 100644 --- a/tests/DataSourceDispatchTests.hs +++ b/tests/DataSourceDispatchTests.hs @@ -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 #-} diff --git a/tests/ExampleDataSource.hs b/tests/ExampleDataSource.hs index 0bdd721..8ba80fd 100644 --- a/tests/ExampleDataSource.hs +++ b/tests/ExampleDataSource.hs @@ -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 #-} diff --git a/tests/ExceptionStackTests.hs b/tests/ExceptionStackTests.hs index 0035d0b..be2867d 100644 --- a/tests/ExceptionStackTests.hs +++ b/tests/ExceptionStackTests.hs @@ -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 #-} diff --git a/tests/FBMain.hs b/tests/FBMain.hs index 8cd0586..d7fb165 100644 --- a/tests/FBMain.hs +++ b/tests/FBMain.hs @@ -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 FBMain (main) where import Facebook.Init diff --git a/tests/FullyAsyncTest.hs b/tests/FullyAsyncTest.hs index 47732e4..caf31c2 100644 --- a/tests/FullyAsyncTest.hs +++ b/tests/FullyAsyncTest.hs @@ -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 diff --git a/tests/LoadCache.hs b/tests/LoadCache.hs index eab29d6..5cfa28b 100644 --- a/tests/LoadCache.hs +++ b/tests/LoadCache.hs @@ -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 diff --git a/tests/MemoizationTests.hs b/tests/MemoizationTests.hs index 384f51d..ab94070 100644 --- a/tests/MemoizationTests.hs +++ b/tests/MemoizationTests.hs @@ -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 diff --git a/tests/MockTAO.hs b/tests/MockTAO.hs index 97e56c4..a65c4ef 100644 --- a/tests/MockTAO.hs +++ b/tests/MockTAO.hs @@ -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 #-} diff --git a/tests/MonadAsyncTest.hs b/tests/MonadAsyncTest.hs index 910fa0b..ff92332 100644 --- a/tests/MonadAsyncTest.hs +++ b/tests/MonadAsyncTest.hs @@ -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 #-} diff --git a/tests/MonadBench.hs b/tests/MonadBench.hs index 92fb313..91b7015 100644 --- a/tests/MonadBench.hs +++ b/tests/MonadBench.hs @@ -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 #-} diff --git a/tests/OutgoneFetchesTests.hs b/tests/OutgoneFetchesTests.hs index b929453..014f58c 100644 --- a/tests/OutgoneFetchesTests.hs +++ b/tests/OutgoneFetchesTests.hs @@ -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 #-} diff --git a/tests/ParallelTests.hs b/tests/ParallelTests.hs index ff6a679..aef6850 100644 --- a/tests/ParallelTests.hs +++ b/tests/ParallelTests.hs @@ -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 diff --git a/tests/ProfileTests.hs b/tests/ProfileTests.hs index 3342f36..4b45aa2 100644 --- a/tests/ProfileTests.hs +++ b/tests/ProfileTests.hs @@ -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 #-} diff --git a/tests/SleepDataSource.hs b/tests/SleepDataSource.hs index 42aa88a..a1d2ea2 100644 --- a/tests/SleepDataSource.hs +++ b/tests/SleepDataSource.hs @@ -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 #-} diff --git a/tests/StatsTests.hs b/tests/StatsTests.hs index 7b391f4..3c1ce0d 100644 --- a/tests/StatsTests.hs +++ b/tests/StatsTests.hs @@ -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 #-} diff --git a/tests/TestBadDataSource.hs b/tests/TestBadDataSource.hs index 028fbec..e52e595 100644 --- a/tests/TestBadDataSource.hs +++ b/tests/TestBadDataSource.hs @@ -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 diff --git a/tests/TestExampleDataSource.hs b/tests/TestExampleDataSource.hs index 58caaf0..d557b79 100644 --- a/tests/TestExampleDataSource.hs +++ b/tests/TestExampleDataSource.hs @@ -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 #-} diff --git a/tests/TestMain.hs b/tests/TestMain.hs index bb75f2c..663bf37 100644 --- a/tests/TestMain.hs +++ b/tests/TestMain.hs @@ -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 diff --git a/tests/TestTypes.hs b/tests/TestTypes.hs index cb5e1a2..a1d8196 100644 --- a/tests/TestTypes.hs +++ b/tests/TestTypes.hs @@ -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 #-} diff --git a/tests/TestUtils.hs b/tests/TestUtils.hs index 92201a4..dc88d28 100644 --- a/tests/TestUtils.hs +++ b/tests/TestUtils.hs @@ -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 #-} diff --git a/tests/WorkDataSource.hs b/tests/WorkDataSource.hs index 9be6108..03d9bcb 100644 --- a/tests/WorkDataSource.hs +++ b/tests/WorkDataSource.hs @@ -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 #-} diff --git a/tests/WriteTests.hs b/tests/WriteTests.hs index 7575a4a..6adf86b 100644 --- a/tests/WriteTests.hs +++ b/tests/WriteTests.hs @@ -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 #-}