diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Revision history for foldable-ix
+
+## 0.1.0.0 -- 2021-01-02
+
+* First version. Released on an unsuspecting world.
diff --git a/Data/Foldable/Ix.hs b/Data/Foldable/Ix.hs
new file mode 100644
--- /dev/null
+++ b/Data/Foldable/Ix.hs
@@ -0,0 +1,45 @@
+{-# LANGUAGE CPP #-}
+{-# OPTIONS_HADDOCK show-extensions #-}
+
+-- |
+-- Module      :  Data.Foldable.Ix
+-- Copyright   :  (c) OleksandrZhabenko 2020
+-- License     :  MIT
+-- Stability   :  Experimental
+-- Maintainer  :  olexandr543@yahoo.com
+--
+--
+
+module Data.Foldable.Ix where
+
+import Data.Foldable
+
+{-| Function to find out the \'index\' (as the reperesentative of the 'Integral' class) of the first element in the 'Foldable' structure (from the left with indices starting from 0), which equals to the first argument. Returns 'Nothing' if there are no such elements.
+-}
+findIdx1 :: (Eq a, Foldable t, Integral b) => a -> t a -> Maybe b
+findIdx1 x js = (\(_,n1,_) -> if n1 == (-1) then Nothing else Just n1) . foldl' f v $ js
+  where v = (x,-1,0)
+        f (t,n,m) y
+         | n >= 0 = (t,n,m + 1)
+         | y == t = (t,m,m + 1)
+         | otherwise = (t,n,m + 1)
+
+{-| Function to find out the \'indices\' of the elements in the 'Foldable' structure (from the left with indices starting from 0) that equal to the first argument. Returns empty list if there are no such elements. Uses two passes
+through the structure.
+-}
+findIdxs :: (Eq a, Foldable t) => a -> t a -> [Int]
+findIdxs x js = (\(_,ys,_) -> ys) . foldr f v $ js
+  where v = (x,[],length js - 1)
+        f y (t,xs,m)
+         | y == t = (t,m:xs,m - 1)
+         | otherwise = (t,xs,m - 1)
+
+{-| Function to find out the \'indices\' of the elements in the 'Foldable' structure (from the left with indices starting from 0) that equal to the first argument. Returns empty list if there are no such elements. Uses just one
+pass through the structure and additional 'reverse' operation on the resulting list with 'foldl''.
+-}
+findIdxsL1 :: (Eq a, Foldable t) => a -> t a -> [Int]
+findIdxsL1 x js = (\(_,ys,_) -> reverse ys) . foldl' f v $ js
+  where v = (x,[],0)
+        f (t,xs,m) y
+         | y == t = (t,m:xs,m + 1)
+         | otherwise = (t,xs,m + 1)
diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2021 OleksandrZhabenko
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/foldable-ix.cabal b/foldable-ix.cabal
new file mode 100644
--- /dev/null
+++ b/foldable-ix.cabal
@@ -0,0 +1,25 @@
+-- Initial foldable-ix.cabal generated by cabal init.  For further
+-- documentation, see http://haskell.org/cabal/users-guide/
+
+name:                foldable-ix
+version:             0.1.0.0
+synopsis:            Functions to find out the indices of the elements in the Foldable structures
+description:         Uses folds to pass through the structure.
+homepage:            https://hackage.haskell.org/package/foldable-ix
+license:             MIT
+license-file:        LICENSE
+author:              OleksandrZhabenko
+maintainer:          olexandr543@yahoo.com
+copyright:           Oleksandr Zhabenko
+category:            Data
+build-type:          Simple
+extra-source-files:  CHANGELOG.md
+cabal-version:       >=1.10
+
+library
+  exposed-modules:     Data.Foldable.Ix
+  -- other-modules:
+  other-extensions:    CPP
+  build-depends:       base >=4.8 && <4.15
+  -- hs-source-dirs:
+  default-language:    Haskell2010
