Skip to content

Instantly share code, notes, and snippets.

View Karasiq's full-sized avatar
🤔
Солнце ещё высоко

Amynov Islam Methyl Ogly Karasiq

🤔
Солнце ещё высоко
View GitHub Profile
import { toast } from "react-toastify";
import axios from "axios";
import { getCurrentUser } from "../helpers/auth.helper";
import { dispatch } from "../../redux/root.store";
import { logoutUser } from "../../redux/actions/auth/auth.actions";
export const axiosBase = axios.create();
axiosBase.interceptors.request.use(function(request) {
debugger;
@reactormonk
reactormonk / Symbols.md
Last active November 19, 2021 14:06
Scalaz Symbol Guide
Symbol Explanation Hint
\/ Right-leaning Either Split ways, go one way or the other
-\/ Left value of \/ - is on the left side
\/- Right value of \/ - is on the right side
>>= flatMap shove result into
>> flatMap(_ => ..) shove into, but ignore the result
|@| Applicatives into Tuple Scream operator
|+| Append via Monoid + was taken
`> ` fa.map(_ => b)